{"schemaVersion":3,"id":"GHSA-9Q5J-JM53-V7VR","aliases":["RUSTSEC-2022-0051"],"status":"published","duplicateOf":null,"title":null,"description":"Memory corruption in liblz4\n\nlz4-sys up to v1.9.3 bundles a version of liblz4 that is vulnerable to\n[CVE-2021-3520](https://nvd.nist.gov/vuln/detail/CVE-2021-3520).\n\nAttackers could craft a payload that triggers an integer overflow upon\ndecompression, causing an out-of-bounds write.\n\nThe flaw has been corrected in version v1.9.4 of liblz4, which is included\nin lz4-sys 1.9.4.","dates":{"published":"2022-08-25T12:00:00.000Z","modified":"2026-02-04T03:20:40.494Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"OSV · Crates.io","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":true,"selection":"version-preference"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Crates.io","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true}]},"epss":{"probability":null,"percentile":null,"severity":"unknown","asOf":null,"change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[],"last30":[]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[],"affected":[{"vendor":"Crates.Io","product":"lz4-sys","name":"lz4-sys","label":"lz4-sys","ecosystem":"Crates.Io","cpePart":null,"purl":"pkg:cargo/lz4-sys","purlType":"cargo","versions":[{"text":"< 1.9.4","noFixRecorded":false,"fixedIn":null},{"text":"≥ 0.0.0-0, < 1.9.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.9.4 | ≥ 0.0.0-0, < 1.9.4","eol":null,"hubHref":null}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/lz4/lz4/pull/972","label":"github.com/lz4/lz4/pull/972","hostname":"github.com","tags":["WEB"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2022-0051.html","label":"rustsec.org/advisories/RUSTSEC-2022-0051.html","hostname":"rustsec.org","tags":["WEB","Advisory"]},{"url":"https://crates.io/crates/lz4-sys","label":"crates.io/crates/lz4-sys","hostname":"crates.io","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CVE-2021-3520"]},"timeline":[{"kind":"published","date":"2022-08-25T12:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-02-04T03:20:40.494Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T16:47:10.255Z","stale":false,"partial":false}}