Cyber Posture

CWE · MITRE source

CWE-130Improper Handling of Length Parameter Inconsistency

Abstraction: Base · CVEs in our corpus: 88

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: 09 May 2026 03:25 UTC

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

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-2025-14847 KEV8.17.50.76702025-12-19
CVE-2022-27142.09.80.00422022-09-06
CVE-2026-418982.09.80.00062026-04-24
CVE-2019-38621.97.30.06562019-03-21
CVE-2024-396141.97.50.06842024-07-10
CVE-2022-15431.88.80.00412022-04-29
CVE-2026-220461.88.80.00102026-01-07
CVE-2026-220471.88.80.00132026-01-07
CVE-2026-222551.88.80.00042026-01-08
CVE-2026-228611.88.80.00062026-01-13
CVE-2022-246661.77.50.02592022-02-09
CVE-2022-208701.78.60.00462022-10-10
CVE-2024-379881.78.00.01872024-07-09
CVE-2024-379891.78.00.01872024-07-09
CVE-2024-380101.78.00.01872024-07-09
CVE-2024-380111.78.00.01382024-07-09
CVE-2026-53671.78.60.00062026-04-24
CVE-2021-205881.67.50.01022021-02-19
CVE-2021-355161.67.50.01742021-07-13
CVE-2021-355171.67.50.01322021-07-13
CVE-2022-06181.67.50.01022022-03-10
CVE-2022-367881.68.10.00272023-04-20
CVE-2023-525471.67.80.00032024-05-28
CVE-2024-373051.68.20.00142024-06-17
CVE-2024-419901.67.50.01332024-08-07