Cyber Resilience

CWE · MITRE source

CWE-590Free of Memory not on the Heap

Abstraction: Variant · CVEs in our corpus: 20

The product calls free() on a pointer to memory that was not allocated using associated heap allocation functions such as malloc(), calloc(), or realloc().

When free() is called on an invalid pointer, the program's memory management data structures may become corrupted. This corruption can cause the program to crash or, in some circumstances, an attacker may be able to cause free() to operate on controllable memory locations to modify critical program variables or execute code.

Last updated: 20 August 2026 13:14 UTC

Control responseHuman-reviewed

Answering this weakness across the control lifecycle, from our framework cross-walks.

Prevent
Stop it (NIST 800-53 / CSF Protect)
  • PR.PS-06
  • SA-11 Developer Testing and Evaluation
  • SA-15 Development Process, Standards, and Tools
Detect
Catch it (CSF Detect / Respond)

Harden
Shrink the surface (DISA STIG)

Validate
Prove the fix (OWASP ASVS)

NIST 800-53 r5 controls that address this weakness (0)AI-assisted

Control Title Family Why it addresses this CWE
No NIST controls proposed yet.

Top CVEs of this weakness type, ranked by Risk Priority

CVE Risk CVSS EPSS Published
CVE-2020-6016 8.09.80.06002020-11-18
CVE-2021-42377 7.89.80.03382021-11-15
CVE-2022-31625 6.78.10.03672022-06-16
CVE-2023-42459 6.78.60.00832023-10-16
CVE-2025-32911 6.59.00.00912025-04-15
CVE-2022-31627 6.27.70.02042022-07-28
CVE-2023-25565 6.17.50.01102023-02-14
CVE-2025-548995.97.80.00582025-09-09
CVE-2026-208105.97.80.00492026-01-13
CVE-2025-42994 5.87.50.00382025-06-10
CVE-2025-42995 5.87.50.00362025-06-10
CVE-2021-3939 5.57.80.00352021-11-17
CVE-2023-22291 5.37.00.00452023-04-05
CVE-2021-39218 4.86.30.00302021-09-17
CVE-2026-18582 4.55.30.00502026-08-03
CVE-2025-42996 4.45.60.00212025-06-10
CVE-2026-47328 4.46.10.00092026-05-28
CVE-2023-31973 4.35.50.00312023-05-09
CVE-2025-70064.15.50.00112026-06-12
CVE-2025-5899 4.05.30.00142025-06-09