Cyber Resilience

CWE · MITRE source

CWE-789Memory Allocation with Excessive Size Value

Abstraction: Variant · CVEs in our corpus: 219

The product allocates memory based on an untrusted, large size value, but it does not ensure that the size is within expected limits, allowing arbitrary amounts of memory to be allocated.

Last updated: 22 August 2026 00:25 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
  • SC-6 Resource Availability
  • SI-10 Information Input Validation
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-2022-30522 8.47.50.90412022-06-09
CVE-2023-24201 7.59.80.00892023-02-06
CVE-2026-49975 7.37.50.27982026-06-08
CVE-2026-144547.39.80.00372026-07-08
CVE-2026-278096.89.10.00412026-02-26
CVE-2022-36078 6.78.80.00962022-09-02
CVE-2025-27533 6.77.50.08592025-05-07
CVE-2017-7651 6.57.50.05292018-04-24
CVE-2020-24685 6.58.60.01612021-02-09
CVE-2023-43632 6.49.00.00542023-09-21
CVE-2023-3223 6.37.50.02682023-09-27
CVE-2024-43484 6.37.50.02942024-10-08
CVE-2024-20260 6.38.60.00622024-10-23
CVE-2021-34868 6.28.80.00422022-01-25
CVE-2021-34869 6.28.80.00422022-01-25
CVE-2025-62599 6.28.60.00362026-02-03
CVE-2025-62600 6.28.60.00412026-02-03
CVE-2022-22188 6.17.50.01482022-04-14
CVE-2022-31804 6.17.50.01102022-06-24
CVE-2022-34917 6.17.50.01312022-09-20
CVE-2023-6516 6.17.50.01112024-02-13
CVE-2026-539176.17.50.01182026-06-30
CVE-2017-7652 6.07.50.01682018-04-25
CVE-2023-30837 6.07.50.00702023-05-08
CVE-2023-20108 6.07.50.00932023-06-28