Advisory Database
  • Advisories
  • Dependency Scanning
  1. conan
  2. ›
  3. lz4
  4. ›
  5. CVE-2021-3520

CVE-2021-3520: Out-of-bounds Write

June 2, 2021 (updated November 7, 2023)

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

  • bugzilla.redhat.com/show_bug.cgi?id=1954559
  • nvd.nist.gov/vuln/detail/CVE-2021-3520

Code Behaviors & Features

Detect and mitigate CVE-2021-3520 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

Version 1.8.3

Fixed versions

  • 1.9.2

Solution

Upgrade to version 1.9.2 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-190: Integer Overflow or Wraparound

Source file

conan/lz4/CVE-2021-3520.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:50 +0000.