Security Resilience

CWE · MITRE source

CWE-590Free of Memory not on the Heap

Abstraction: Variant · CVEs in our corpus: 25

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: 14 October 2026 20:41 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 PROPOSED for this weakness (0)AI-assisted

These are model PROPOSALS, not graded mappings. They come from controls_to_cwe_proposals, which carries no grade field at all; across the CWE pages 1,540 of 1,722 such associations (89%) have never been graded by anything. The heading said “address” until 2026-09-29, which asserted a relationship the data does not carry. Graded cross-walks are on the framework map, not here.

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.03622021-11-15
CVE-2026-764657.39.80.00452026-10-07
CVE-2022-31625 6.78.10.03792022-06-16
CVE-2023-42459 6.78.60.00832023-10-16
CVE-2026-953116.79.60.00462026-09-29
CVE-2025-32911 6.59.00.00952025-04-15
CVE-2022-31627 6.37.70.02142022-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.00432025-06-10
CVE-2025-42995 5.87.50.00412025-06-10
CVE-2021-3939 5.57.80.00372021-11-17
CVE-2023-22291 5.37.00.00452023-04-05
CVE-2026-891615.37.40.00132026-09-11
CVE-2021-39218 4.86.30.00302021-09-17
CVE-2026-1065784.75.90.00402026-10-07
CVE-2026-18582 4.65.30.00862026-08-03
CVE-2026-47328 4.56.10.00132026-05-28
CVE-2025-42996 4.45.60.00242025-06-10
CVE-2023-31973 4.35.50.00312023-05-09
CVE-2025-5899 4.15.30.00172025-06-09
CVE-2025-7006 4.15.50.00112026-06-12