CVE-2021-3520

published 2 Jun 2021 · updated 14 Oct 2026

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.

9.8CriticalCVSS 9.8EPSS 3%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 3%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
=lz4-1.8.3

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-3520 severity on Zeptric[![CVE-2021-3520](https://zeptric.io/badge/cve/CVE-2021-3520.svg)](https://zeptric.io/cve/CVE-2021-3520)