Cyber Resilience

CWE · MITRE source

CWE-130Improper Handling of Length Parameter Inconsistency

Abstraction: Base · CVEs in our corpus: 98

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: 04 July 2026 00:28 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: mostly · 8 mapping(s) from 4 framework(s): ATT&CK 4 (partial) · ASVS 5.0 2 (mostly) · CAPEC 1 (partial) · OWASP-Web 1 (partial)

See the full cumulative-coverage rollup →

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

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). Drafted by Grok and spot-checked by Claude Opus 4.8.

Direction: other covers this; this covers other (F/M/P = full / mostly / partial).

Top CVEs of this weakness type, ranked by Risk Priority

CVE Risk CVSS EPSS Published
CVE-2025-14847 KEV10.07.50.83012025-12-19
CVE-2022-27147.09.80.00742022-09-06
CVE-2026-418987.09.80.00412026-04-24
CVE-2026-43125 UPD7.09.80.00432026-05-06
CVE-2026-42216 UPD7.09.10.00352026-05-07
CVE-2021-355166.07.50.12702021-07-13
CVE-2021-355176.07.50.10902021-07-13
CVE-2021-360906.07.50.13292021-07-13
CVE-2024-396146.07.50.28642024-07-10
CVE-2018-54535.57.50.01202018-03-05
CVE-2019-38625.57.30.08112019-03-21
CVE-2019-00555.57.50.01352019-10-09
CVE-2021-205885.57.50.05862021-02-19
CVE-2021-206105.57.50.03082021-12-01
CVE-2022-246665.57.50.01352022-02-09
CVE-2022-06185.57.50.01252022-03-10
CVE-2021-436665.57.50.02212022-03-24
CVE-2022-06775.57.50.01232022-04-07
CVE-2022-15435.58.80.01062022-04-29
CVE-2021-384455.57.00.02582022-05-05
CVE-2022-32725.57.50.01392022-09-26
CVE-2022-32905.57.50.00702022-09-26
CVE-2022-208705.58.60.00842022-10-10
CVE-2022-415865.57.50.00422022-10-14
CVE-2023-289645.57.50.00642023-04-17