1. CVE archive
  2. Vulnerability types
  3. CWE-401
CWE-401 · #36 most frequent type in the archive

Missing Release of Memory after Effective Lifetime

The product does not sufficiently track and release allocated memory after it has been used, making the memory unavailable for reallocation and reuse.

Part of: CWE-772 · Missing Release of Resource after Effective Lifetime

2,046CVEs of this type in the archive
6critical (CVSS ≥ 9)
408high severity (7–8.9)
Nov 30, 2026latest published

What it is

The product does not sufficiently track and release allocated memory after it has been used, making the memory unavailable for reallocation and reuse.

Impact on systems

ScopeImpact
Availability DoS: Crash, Exit, or Restart, DoS: Instability, DoS: Resource Consumption (CPU), DoS: Resource Consumption (Memory)
Most memory leaks result in general product reliability problems, but if an attacker can intentionally trigger a memory leak, the attacker might be able to launch a denial of service attack (by crashing or hanging the program) or take advantage of other unexpected program behavior resulting from a low memory condition.
Other Reduce Performance

How to prevent it

Implementation · Libraries or Frameworks Choose a language or tool that provides automatic memory management, or makes manual memory management less error-prone. For example, glibc in Linux provides protection against free of invalid pointers. When using Xcode to target OS X or iOS, enable automatic reference counting (ARC). To help correctly and consistently manage memory when programming in C++, consider using a smart pointer class such as std
Architecture and Design Use an abstraction library to abstract away risky APIs. Not a complete solution.
Architecture and Design · Build and Compilation Consider using the Boehm-Demers-Weiser garbage collector (bdwgc), which can help avoid leaks.

Source: MITRE CWE catalog · Official entry on the MITRE website

CWE-401 CVEs published per year

2026: year in progress, updated every hour

Show the data as a table
YearCVE
20011
20021
20031
20042
20052
20071
20081
20092
20102
20111
20166
201712
20187
2019123
202077
2021103
2022120
202378
2024397
2025566
2026543

All CWE-401 CVEs

2,046 results

Dottor Marc

Is this type of vulnerability in your systems?

An archive tells you what exists; a Vulnerability Assessment tells you what is exposed on your side. Dottor Marc tests your web applications and network with automated and manual checks.