-
CVSS Score
-Basic Information
CVE ID
-
GHSA ID
-
EPSS Score
-
CWE
-
Published
-
Updated
-
KEV Status
-
Technology
-
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| lz4-sys | rust | < 1.9.4 | 1.9.4 |
The critical vulnerability stems from an integer overflow in decompression handling. The patch in lz4.c modifies read_variable_length() to use fixed-width U32 types, explicitly addressing CVE-2021-3520's root cause. This function parses length fields during decompression - the exact location where malicious input would trigger overflow. The type change from unsigned to U32 (with added static assertion for 4-byte ints) proves the original code had platform-dependent integer sizing vulnerable to wrap-around. Runtime detection would see this function processing attacker-controlled compression payloads.
KEV Misses 88% of Exploited CVEs- Get the report