There's a flaw in lz4. An attacker who submits a crafted file to an application linked with lz4 may be able to trigger an integer overflow, leading to calling of memmove() on a negative size argument, causing an out-of-bounds write and/or a crash. The greatest impact of this flaw is to availability, with some potential impact to confidentiality and integrity as well.
{
"sources": [
{
"published": "2021-06-02T13:15:13.170Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2021-3520",
"modified": "2024-11-21T06:21:44.987Z",
"id": "CVE-2021-3520",
"database_specific": {
"status": "Modified"
},
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-3520",
"imported": "2026-05-24T16:38:40.362Z"
}
],
"license": "CC-BY-4.0"
}