{"id":"GHSA-9q5j-jm53-v7vr","aliases":["GHSA-9q5j-jm53-v7vr","RUSTSEC-2022-0051"],"related":["CVE-2021-3520"],"kind":"vulnerability","state":"published","title":"lz4-sys vulnerable to memory corruption via issue in liblz4","summary":"lz4-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.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"lz4-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.","format":"markdown","source":"ghsa"}],"published":"2022-08-25T12:00:00.000Z","modified":"2026-02-04T03:20:40.494Z","severity":{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"RustSec Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-190","CWE-787"],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.9.4"}],"ecosystem":"crates.io","package":"lz4-sys","purl":"pkg:cargo/lz4-sys","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected","fixed":"1.9.4"}],"ecosystem":"crates.io","package":"lz4-sys","purl":"pkg:cargo/lz4-sys","source":"rustsec"}],"references":[{"url":"https://github.com/lz4/lz4/pull/972","tags":["web"],"sources":["ghsa","rustsec"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2022-0051.html","tags":["advisory","web"],"sources":["ghsa","rustsec"]},{"url":"https://crates.io/crates/lz4-sys","tags":["package"],"sources":["rustsec"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-9q5j-jm53-v7vr","url":"https://github.com/advisories/GHSA-9q5j-jm53-v7vr","licence":"CC-BY-4.0","modified":"2023-11-08T04:18:03.475Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2022-0051","url":"https://rustsec.org/advisories/RUSTSEC-2022-0051.html","licence":"CC0-1.0","modified":"2026-02-04T03:20:40.494Z"}],"updatedAt":"2026-11-25T22:56:43.108Z"}