CWE · MITRE source
CWE-130Improper Handling of Length Parameter Inconsistency
The product parses a formatted message or structure, but it does not handle or incorrectly handles a length field that is inconsistent with the actual length of the associated data.
If an attacker can manipulate the length parameter associated with an input such that it is inconsistent with the actual length of the input, this can be leveraged to cause the target application to behave in unexpected, and possibly, malicious ways. One of the possible motives for doing so is to pass in arbitrarily large input to the application. Another possible motivation is the modification of application state by including invalid data for subsequent properties of the application. Such weaknesses commonly lead to attacks such as buffer overflows and execution of arbitrary code.
Last updated: 28 November 2026 01:40 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 · 36 mapping(s) from 5 framework(s): ATT&CK 26 (full) · ISO_IEC_27002_2022 5 (mostly) · ASVS 5.0 2 (mostly) · 800-53 2 (mostly) · 1 (mostly)
Control responseHuman-reviewed
Answering this weakness across the control lifecycle, from our framework cross-walks.
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. | |||
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-2025-14847 KEV UPD | 8.5 | 7.5 | 0.0471 | 2025-12-19 |
CVE-2022-2714 UPD | 7.5 | 9.8 | 0.0099 | 2022-09-06 |
CVE-2026-109390 | 7.5 | 9.8 | 0.0122 | 2026-10-12 |
CVE-2026-43125 UPD | 7.3 | 9.8 | 0.0055 | 2026-05-06 |
CVE-2026-42216 UPD | 6.9 | 9.1 | 0.0046 | 2026-05-07 |
CVE-2026-116531 UPD | 6.9 | 9.1 | 0.0051 | 2026-10-28 |
CVE-2021-35516 UPD | 6.8 | 7.5 | 0.1236 | 2021-07-13 |
CVE-2021-35517 UPD | 6.8 | 7.5 | 0.1061 | 2021-07-13 |
CVE-2021-36090 UPD | 6.8 | 7.5 | 0.1236 | 2021-07-13 |
CVE-2022-1543 UPD | 6.8 | 8.8 | 0.0105 | 2022-04-29 |
CVE-2026-22861 | 6.7 | 8.8 | 0.0076 | 2026-01-13 |
CVE-2021-20588 UPD | 6.6 | 7.5 | 0.0696 | 2021-02-19 |
CVE-2026-22046 | 6.6 | 8.8 | 0.0062 | 2026-01-07 |
CVE-2026-22047 | 6.6 | 8.8 | 0.0066 | 2026-01-07 |
CVE-2026-22255 | 6.6 | 8.8 | 0.0066 | 2026-01-08 |
CVE-2026-58096 UPD | 6.6 | 8.8 | 0.0060 | 2026-08-26 |
CVE-2019-3862 UPD | 6.5 | 7.3 | 0.0796 | 2019-03-21 |
CVE-2021-20610 UPD | 6.4 | 7.5 | 0.0327 | 2021-12-01 |
CVE-2022-20870 UPD | 6.4 | 8.6 | 0.0105 | 2022-10-10 |
CVE-2024-37305 UPD | 6.4 | 8.2 | 0.0081 | 2024-06-17 |
CVE-2024-39614 UPD | 6.4 | 7.5 | 0.0395 | 2024-07-10 |
CVE-2026-5367 UPD | 6.4 | 8.6 | 0.0091 | 2026-04-24 |
CVE-2024-37988 UPD | 6.3 | 8.0 | 0.0107 | 2024-07-09 |
CVE-2024-37989 UPD | 6.3 | 8.0 | 0.0107 | 2024-07-09 |
CVE-2024-38010 UPD | 6.3 | 8.0 | 0.0107 | 2024-07-09 |