GHSA-9Q5J-JM53-V7VR: lz4-sys Crates.Io
CVSS: 9.8v3.1CriticalPublished
AliasesRUSTSEC-2022-0051
Published 25-08-2022Last modified 04-02-2026
Vulnerability summary
GHSA-9Q5J-JM53-V7VR is a critical (CVSS 9.8) vulnerability in lz4-sys Crates.Io.
CVSS score
9.8/10
010
Critical · v3.1 (OSV · Crates.io), selected by version preferenceEPSS score
Not scored
0%100%
No EPSS score yetKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 25-08-2022PublishedVulnerability first disclosed.
- 04-02-2026Last modifiedVulnerability information updated.
Description
Memory corruption in liblz4 lz4-sys up to v1.9.3 bundles a version of liblz4 that is vulnerable to [CVE-2021-3520](https://nvd.nist.gov/vuln/detail/CVE-2021-3520). Attackers could craft a payload that triggers an integer overflow upon decompression, causing an out-of-bounds write. The flaw has been corrected in version v1.9.4 of liblz4, which is included in lz4-sys 1.9.4.
CVSS metrics
1 score · 1 source · 1 versionCritical 9.8Preferred score · OSV · Crates.io (Ecosystem advisory) · calculated from vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HSourcesSingle source
EPSS trend
No EPSS score has been published for this record yet.
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Crates.Io1 product
- lz4-sys< 1.9.4 | ≥ 0.0.0-0, < 1.9.4
1 vendor · 1 product
References
3 links- crates.io/crates/lz4-sysPACKAGE