CVE-2021-3520

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-3520
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-3520.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-3520
Downstream
Related
Published
2021-06-02T13:15:13Z
Modified
2025-10-21T06:25:18.738955Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/lz4/lz4

Affected ranges

Type
GIT
Repo
https://github.com/lz4/lz4
Events

Affected versions

v1.*

v1.8.3
v1.9.0
v1.9.1
v1.9.2
v1.9.3