Security Resilience

CWE · MITRE source

CWE-131Incorrect Calculation of Buffer Size

Abstraction: Base · CVEs in our corpus: 264

The product does not correctly calculate the size to be used when allocating a buffer, which could lead to a buffer overflow.

Last updated: 19 November 2026 23:37 UTC

Cumulative inbound coverage

How completely the frameworks we cross-walk collectively cover this — the verdict is the strongest single mapping (overlapping partials are not summed); breadth shows the corroboration behind it.

Collective: full · 29 mapping(s) from 4 framework(s): ATT&CK 19 (full) · ISO_IEC_27002_2022 5 (partial) · 800-53 4 (mostly) · 1 (mostly)

See the full cumulative-coverage rollup →

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-8 Security and Privacy Engineering Principles
  • SI-10 Information Input Validation
Detect
Catch it (CSF Detect / Respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)

—

Our mappings

NIST 800-53 r5 controls PROPOSED for this weakness (0)

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.
Our mappings

MITRE ATT&CK techniques this weakness enables

Our own two-way CWE↔ATT&CK cross-walk — a direct mapping with no public source (the CWE→CAPEC→ATT&CK chain leaves most top weaknesses, incl. XSS and SQLi, mapped to nothing).

Direction: ← other covers this; → this covers other (F/M/P = full / mostly / partial). gov = governs / implements (a mandate, not coverage).

Top CVEs of this weakness type, ranked by Risk Priority

CVE Risk CVSS EPSS Published
CVE-2003-0899 8.69.80.22192003-11-03
CVE-2005-3120 8.69.80.23262005-10-17
CVE-2026-42945 8.68.10.68052026-05-13
CVE-2001-0249 8.59.80.19752001-06-18
CVE-2020-17087 KEV 8.57.80.05432020-11-11
CVE-2005-2103 8.49.80.16052005-08-16
CVE-2020-8450 8.37.30.71792020-02-04
CVE-2001-0248 8.29.80.11172001-06-18
CVE-2004-1363 8.29.80.09102004-08-04
CVE-2008-0599 8.29.80.10922008-05-05
CVE-2020-6113 8.27.80.64142020-09-17
CVE-2002-1347 8.19.80.07082002-12-18
CVE-2004-0434 8.19.80.07162004-07-07
CVE-2023-36824 8.17.40.77422023-07-11
CVE-2021-0254 7.79.80.02662021-04-22
CVE-2024-23621 7.710.00.01852024-01-26
CVE-2024-23622 7.710.00.01852024-01-26
CVE-2019-10627 7.69.80.01352019-11-21
CVE-2020-11901 7.69.00.21612020-06-17
CVE-2020-15350 7.69.80.01472020-07-07
CVE-2024-23606 7.69.80.01682024-02-20
CVE-2019-10500 7.59.80.00902019-12-18
CVE-2021-27378 7.59.80.01252021-02-18
CVE-2021-21824 7.59.80.01212021-06-11
CVE-2023-24819 7.59.80.00982023-04-24