CWE-244: Improper Clearing of Heap Memory Before Release
Also known as: Heap Inspection
The product uses realloc() to resize buffers that contain sensitive information.
Last updated
Overview
CWE-244 (Improper Clearing of Heap Memory Before Release) is a variant-level software weakness catalogued by MITRE in the Common Weakness Enumeration (CWE). It describes a recurring type of mistake that can lead to exploitable security vulnerabilities.
Background
The realloc() function is commonly used to increase the size of a block of allocated memory. This operation often requires copying the contents of the old memory block into a new and larger block.
Real-world CVEs
23 recorded CVEs are caused by CWE-244 (Improper Clearing of Heap Memory Before Release), including 1 in CISA's KEV (Known Exploited Vulnerabilities) catalog. KEVs are shown first. 8 new CWE-244 CVEs have been recorded so far in 2026 (9 in 2025).
- CVE-2026-20349CISA KEV
Cisco Secure Firewall Adaptive Security Appliance and Secure Firewall Threat Defense Software Remote Access SSL VPN Denial of Service Vulnerability
High · CVSS 8.6 · EPSS 62th2026-08-11 - CVE-2026-20039
Cisco Adaptive Security Appliance and Firepower Threat Defense Software SSL VPN Authentication Denial of Service Vulnerability