cve.bz

CVE-2021-3520 Year 2038 problem, Y2K38, Y2038, Epochalypse

9.8 criticalEPSS 3.4%Fix available

Critical (9.8). EPSS 3.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
3.4% (unchanged from 3.4% a week ago; 3.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 89th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: total, assessed 2026-10-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-190 Integer Overflow or Wraparound (Year 2038 problem, Y2K38, Y2038, Epochalypse)
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-3520 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-3520?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-3520?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-3520 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2021-3520

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2021-3520](https://cve.bz/cve/badge/CVE-2021-3520.svg)](https://cve.bz/cve/CVE-2021-3520)

HTML:

<a href="https://cve.bz/cve/CVE-2021-3520"><img src="https://cve.bz/cve/badge/CVE-2021-3520.svg" alt="CVE-2021-3520"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
lz4_project:lz4from 1.8.3 before 1.9.4
oracle:communications_cloud_native_core_policy1.14.0
oracle:zfs_storage_appliance_kit8.8
splunk:universal_forwarderfrom 8.2.0 before 8.2.12
splunk:universal_forwarderfrom 9.0.0 before 9.0.6
splunk:universal_forwarder9.1.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9lz40.0~r131-2+deb9u1DLA-2657-1
Debian10lz41.8.3-1+deb10u1DSA-4919-1
Debian12, 13, 14lz41.9.3-2DEBIAN-CVE-2021-3520
Ubuntu18.04:LTSlz40.0~r131-2ubuntu3.1UBUNTU-CVE-2021-3520 USN-4968-1
Ubuntu20.04:LTSlz41.9.2-2ubuntu0.20.04.1UBUNTU-CVE-2021-3520 USN-4968-1
UbuntuPro:14.04:LTSlz40.0~r114-2ubuntu1+esm2UBUNTU-CVE-2021-3520 USN-4968-2
UbuntuPro:16.04:LTSlz40.0~r131-2ubuntu2+esm1UBUNTU-CVE-2021-3520 USN-4968-2
Red Hatenterprise_linux:8::baseoslz4, lz4-libs, lz4-devel and 3 more0:1.8.3-3.el8_4RHSA-2021:2575
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 12 morelz41.8.0-3.8.1SUSE-SU-2021:1647-1
SUSELinux Enterprise Module for Basesystem 15 SP3lz41.9.2-3.3.1SUSE-SU-2021:1825-1
SUSELinux Enterprise Software Development Kit 12 SP5lz41.8.0-3.3.1SUSE-SU-2021:1613-1
openSUSELeap 15.2lz4, lz4-test1.8.0-lp152.5.3.1openSUSE-SU-2021:0760-1
openSUSELeap 15.3lz41.9.2-3.3.1openSUSE-SU-2021:1825-1
openSUSETumbleweedlz41.9.3-2.1openSUSE-SU-2024:11562-1
AlmaLinux8lz4, lz4-libs, lz4-devel1.8.3-3.el8_4ALSA-2021:2575
Rocky Linux8lz40:1.8.3-3.el8_4RLSA-2021:2575
Alpinev3.12, v3.13lz41.9.2-r1ALPINE-CVE-2021-3520
Alpinev3.14, v3.15, v3.16 and 8 morelz41.9.3-r1ALPINE-CVE-2021-3520
Azure Linux3suitesparseno fix listedAZL-74241

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This flaw is out of support scope for Red Hat Enterprise Linux 7. To learn more about Red Hat Enterprise Linux support life cycles, please see https://access.redhat.com/support/policy/updates/errata .

ProductPackageStateAdvisory
Red Hat AMQ Streams 2.1.0lz4Fixed 2022-04-13RHSA-2022:1345
Red Hat AMQ Streams 2.7.0Fixed 2024-05-30RHSA-2024:3527
Red Hat Enterprise Linux 8lz4-0:1.8.3-3.el8_4Fixed 2021-06-29RHSA-2021:2575
Red Hat Migration Toolkit for Containers 1.4rhmtc/openshift-migration-controller-rhel8:v1.4.6-4Fixed 2021-07-21RHBA-2021:2854
Red Hat Migration Toolkit for Containers 1.4rhmtc/openshift-migration-log-reader-rhel8:v1.4.6-4Fixed 2021-07-21RHBA-2021:2854
Red Hat Migration Toolkit for Containers 1.4rhmtc/openshift-migration-must-gather-rhel8:v1.4.6-4Fixed 2021-07-21RHBA-2021:2854
Red Hat Migration Toolkit for Containers 1.4rhmtc/openshift-migration-operator-bundle:v1.4.6-5Fixed 2021-07-21RHBA-2021:2854
Red Hat Migration Toolkit for Containers 1.4rhmtc/openshift-migration-registry-rhel8:v1.4.6-4Fixed 2021-07-21RHBA-2021:2854
Red Hat Migration Toolkit for Containers 1.4rhmtc/openshift-migration-rsync-transfer-rhel8:v1.4.6-4Fixed 2021-07-21RHBA-2021:2854
Red Hat Migration Toolkit for Containers 1.4rhmtc/openshift-migration-ui-rhel8:v1.4.6-4Fixed 2021-07-21RHBA-2021:2854
Red Hat Migration Toolkit for Containers 1.4rhmtc/openshift-migration-velero-plugin-for-aws-rhel8:v1.4.6-4Fixed 2021-07-21RHBA-2021:2854
Red Hat Migration Toolkit for Containers 1.4rhmtc/openshift-migration-velero-plugin-for-gcp-rhel8:v1.4.6-3Fixed 2021-07-21RHBA-2021:2854
Red Hat Migration Toolkit for Containers 1.4rhmtc/openshift-migration-velero-plugin-for-microsoft-azure-rhel8:v1.4.6-4Fixed 2021-07-21RHBA-2021:2854
Red Hat Advanced Cluster Management for Kubernetes 2lz4Not affected
Red Hat build of Quarkuslz4Affected
Red Hat Enterprise Linux 7lz4Out of support scope
Red Hat Enterprise Linux 9lz4Not affected
Red Hat Fuse 7lz4Fix deferred
Red Hat Integration Camel Quarkus 1lz4Affected
Red Hat JBoss Fuse 6lz4Out of support scope
5 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-3520.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-23-348-10Siemens SIMATIC S7-15002023-12-12Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) and 2 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON