VDB

CVE-2021-3520

CVE-2021-3520 PUBLISHED CVSS 9.800000190734863 CRITICAL

Reported by redhat · Published June 2, 2021

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
lz4lz4_project1.9.4

Risk scores

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

Affected products

VendorProductVersions
n/alz4lz4-1.8.3
ConanCenterlz41.8.3
n/alz41.8.3
amazon:2023lz4-libs0
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP3.1.0
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFP3.1.0
amazon:2023lz4-static0
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP3.1.0
archlz40
alpinelz40, 0
amazon:2023lz40
amazon:2023lz4-devel0

Timeline

  • Apr 30, 2021 CVE Published
  • Jun 3, 2021 EPSS Score (30 in total, the first dated here)
  • Sep 8, 2025 CVE Updated
  • Dec 16, 2025 PoC Published
  • Mar 7, 2026 Distribution Patch (22 in total, the first dated here)
  • Mar 7, 2026 Security Advisory (28 in total, the first dated here)
  • Jul 29, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-3520
vulnetix vdb fixes CVE-2021-3520

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-3520/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›