CVE catalog

CVE-2021-3520

lz4: CVE-2021-3520

[CVE catalog]

Severity
Critical · CVSS 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C
Published
Source
[NVD] · [CVE record]
EPSS
3.40% · Oct 25, 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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianlz4sid1.10.0-10fixed
Debianlz4forky1.10.0-10fixed
Debianlz4trixie1.10.0-4fixed
Debianlz4bookworm1.9.4-1fixed
Cpelz4Not reported1.9.4fixed
Cpeactive_iq_unified_managerNot reportedNot reportedunknown
Cpecloud_backupNot reportedNot reportedunknown
Cpeontap_select_deploy_administration_utilityNot reportedNot reportedunknown
Cpecommunications_cloud_native_core_policyNot reportedNot reportedunknown
Cpezfs_storage_appliance_kitNot reportedNot reportedunknown
Cpeuniversal_forwarderNot reportedNot reportedunknown
Alpinelz43.121.9.2-r1fixed
Alpinelz43.131.9.2-r1fixed
Alpinelz43.141.9.3-r1fixed
Alpinelz43.151.9.3-r1fixed
Alpinelz43.161.9.3-r1fixed
Alpinelz43.171.9.3-r1fixed
Alpinelz43.181.9.3-r1fixed
Alpinelz43.191.9.3-r1fixed
Alpinelz43.201.9.3-r1fixed
Alpinelz43.211.9.3-r1fixed
Alpinelz43.221.9.3-r1fixed
Alpinelz43.231.9.3-r1fixed
Alpinelz43.241.9.3-r1fixed
Ubuntulz4pro0.0~r131-1vulnerable
Ubuntulz4pro0.0~r131-2vulnerable
Ubuntulz4pro0.0~r131-2ubuntu2vulnerable
Ubuntulz4pro0.0~r131-2ubuntu2+esm1fixed
Ubuntulz4pro0.0~r131-1vulnerable
Ubuntulz4pro0.0~r131-2vulnerable
Ubuntulz4pro0.0~r131-2ubuntu2vulnerable
Ubuntulz4pro0.0~r131-2ubuntu2+esm1fixed
Ubuntulz418.040.0~r131-2ubuntu2vulnerable
Ubuntulz418.040.0~r131-2ubuntu3vulnerable
Ubuntulz418.040.0~r131-2ubuntu3.1fixed
Ubuntulz420.041.9.1-1vulnerable
Ubuntulz420.041.9.1-2vulnerable
Ubuntulz420.041.9.2-2vulnerable
Ubuntulz420.041.9.2-2ubuntu0.20.04.1fixed
Ubuntulz418.040.0~r131-2ubuntu2vulnerable
Ubuntulz418.040.0~r131-2ubuntu3vulnerable
Ubuntulz418.040.0~r131-2ubuntu3.1fixed
Ubuntulz420.041.9.1-1vulnerable
Ubuntulz420.041.9.1-2vulnerable
Ubuntulz420.041.9.2-2vulnerable
Ubuntulz420.041.9.2-2ubuntu0.20.04.1fixed
Opensuselz4tumbleweed1.9.3-2.1fixed
Opensuselz4leap 15.21.8.0-lp152.5.3.1fixed
Opensuselz4-testleap 15.21.8.0-lp152.5.3.1fixed
Suselz4linux enterprise module for basesystem 15 sp31.9.2-3.3.1fixed
Opensuselz4leap 15.31.9.2-3.3.1fixed
Suselz4linux enterprise module for basesystem 15 sp21.8.0-3.8.1fixed
Suselz4linux enterprise high performance computing 15-espos1.8.0-3.8.1fixed
Suselz4linux enterprise high performance computing 15-ltss1.8.0-3.8.1fixed
Suselz4linux enterprise high performance computing 15 sp1-espos1.8.0-3.8.1fixed
Suselz4linux enterprise high performance computing 15 sp1-ltss1.8.0-3.8.1fixed
Suselz4linux enterprise server 15-ltss1.8.0-3.8.1fixed
Suselz4linux enterprise server 15 sp1-bcl1.8.0-3.8.1fixed
Suselz4linux enterprise server 15 sp1-ltss1.8.0-3.8.1fixed
Suselz4linux enterprise server for sap applications 151.8.0-3.8.1fixed
Suselz4linux enterprise server for sap applications 15 sp11.8.0-3.8.1fixed
Suselz4manager proxy 4.01.8.0-3.8.1fixed
Suselz4manager retail branch server 4.01.8.0-3.8.1fixed
Suselz4manager server 4.01.8.0-3.8.1fixed
Suselz4linux enterprise micro 5.01.8.0-3.8.1fixed
Suselz4enterprise storage 61.8.0-3.8.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlz4sourcesid1.9.3-2not yet assignedNot reported[987856]
Debianlz4sourceforky1.9.3-2not yet assignedNot reported[987856]
Debianlz4sourcetrixie1.9.3-2not yet assignedNot reported[987856]
Debianlz4sourcebookworm1.9.3-2not yet assignedNot reported[987856]
Cpelz4cpeNot reported1.9.4Not reportedNVD-CVE-2021-3520Not reported
Alpinelz4apk3.121.9.2-r1Not reportedALPINE-CVE-2021-3520Not reported
Alpinelz4apk3.131.9.2-r1Not reportedALPINE-CVE-2021-3520Not reported
Alpinelz4apk3.141.9.3-r1Not reportedALPINE-CVE-2021-3520Not reported
Alpinelz4apk3.151.9.3-r1Not reportedALPINE-CVE-2021-3520Not reported
Alpinelz4apk3.161.9.3-r1Not reportedALPINE-CVE-2021-3520Not reported
Alpinelz4apk3.171.9.3-r1Not reportedALPINE-CVE-2021-3520Not reported
Alpinelz4apk3.181.9.3-r1Not reportedALPINE-CVE-2021-3520Not reported
Alpinelz4apk3.191.9.3-r1Not reportedALPINE-CVE-2021-3520Not reported
Alpinelz4apk3.201.9.3-r1Not reportedALPINE-CVE-2021-3520Not reported
Alpinelz4apk3.211.9.3-r1Not reportedALPINE-CVE-2021-3520Not reported
Alpinelz4apk3.221.9.3-r1Not reportedALPINE-CVE-2021-3520Not reported
Alpinelz4apk3.231.9.3-r1Not reportedALPINE-CVE-2021-3520Not reported
Alpinelz4apk3.241.9.3-r1Not reportedALPINE-CVE-2021-3520Not reported
Ubuntulz4debpro0.0~r131-2ubuntu2+esm1Not reportedUSN-4968-2Not reported
Ubuntulz4debpro0.0~r131-2ubuntu2+esm1Not reportedUBUNTU-CVE-2021-3520Not reported
Ubuntulz4deb18.040.0~r131-2ubuntu3.1Not reportedUBUNTU-CVE-2021-3520Not reported
Ubuntulz4deb20.041.9.2-2ubuntu0.20.04.1Not reportedUBUNTU-CVE-2021-3520Not reported
Ubuntulz4deb18.040.0~r131-2ubuntu3.1Not reportedUSN-4968-1Not reported
Ubuntulz4deb20.041.9.2-2ubuntu0.20.04.1Not reportedUSN-4968-1Not reported
Opensuselz4rpmtumbleweed1.9.3-2.1Not reportedOPENSUSE-SU-2024:11562-1Not reported
Opensuselz4rpmleap 15.21.8.0-lp152.5.3.1Not reportedOPENSUSE-SU-2021:0760-1Not reported
Opensuselz4-testrpmleap 15.21.8.0-lp152.5.3.1Not reportedOPENSUSE-SU-2021:0760-1Not reported
Suselz4rpmlinux enterprise module for basesystem 15 sp31.9.2-3.3.1Not reportedSUSE-SU-2021:1825-1Not reported
Opensuselz4rpmleap 15.31.9.2-3.3.1Not reportedOPENSUSE-SU-2021:1825-1Not reported
Suselz4rpmlinux enterprise module for basesystem 15 sp21.8.0-3.8.1Not reportedSUSE-SU-2021:1647-1Not reported
Suselz4rpmlinux enterprise high performance computing 15-espos1.8.0-3.8.1Not reportedSUSE-SU-2021:1647-1Not reported
Suselz4rpmlinux enterprise high performance computing 15-ltss1.8.0-3.8.1Not reportedSUSE-SU-2021:1647-1Not reported
Suselz4rpmlinux enterprise high performance computing 15 sp1-espos1.8.0-3.8.1Not reportedSUSE-SU-2021:1647-1Not reported
Suselz4rpmlinux enterprise high performance computing 15 sp1-ltss1.8.0-3.8.1Not reportedSUSE-SU-2021:1647-1Not reported
Suselz4rpmlinux enterprise server 15-ltss1.8.0-3.8.1Not reportedSUSE-SU-2021:1647-1Not reported
Suselz4rpmlinux enterprise server 15 sp1-bcl1.8.0-3.8.1Not reportedSUSE-SU-2021:1647-1Not reported
Suselz4rpmlinux enterprise server 15 sp1-ltss1.8.0-3.8.1Not reportedSUSE-SU-2021:1647-1Not reported
Suselz4rpmlinux enterprise server for sap applications 151.8.0-3.8.1Not reportedSUSE-SU-2021:1647-1Not reported
Suselz4rpmlinux enterprise server for sap applications 15 sp11.8.0-3.8.1Not reportedSUSE-SU-2021:1647-1Not reported
Suselz4rpmmanager proxy 4.01.8.0-3.8.1Not reportedSUSE-SU-2021:1647-1Not reported
Suselz4rpmmanager retail branch server 4.01.8.0-3.8.1Not reportedSUSE-SU-2021:1647-1Not reported
Suselz4rpmmanager server 4.01.8.0-3.8.1Not reportedSUSE-SU-2021:1647-1Not reported
Suselz4rpmlinux enterprise micro 5.01.8.0-3.8.1Not reportedSUSE-SU-2021:1647-1Not reported
Suselz4rpmenterprise storage 61.8.0-3.8.1Not reportedSUSE-SU-2021:1647-1Not reported

[Debian bug #987856]

OpenFactory catalog packages

[openSUSE Tumbleweed]

  • [liblz4-1]Unknown

    Source package: [lz4]

    Details (1)
    • 1.10.0-2.8 · x86_64 · tumbleweed

      Unknown · Fixed: 1.9.3-2.1

      Version impact unknown

      dsa · lz4 · opensuse · tumbleweed

  • Source package: [lz4]

    Details (1)
    • 1.10.0-2.8 · x86_64 · tumbleweed

      Unknown · Fixed: 1.9.3-2.1

      Version impact unknown

      dsa · lz4 · opensuse · tumbleweed

  • Source package: [lz4]

    Details (1)
    • 1.10.0-2.8 · x86_64 · tumbleweed

      Unknown · Fixed: 1.9.3-2.1

      Version impact unknown

      dsa · lz4 · opensuse · tumbleweed

  • [liblz4-devel]Unknown

    Source package: [lz4]

    Details (1)
    • 1.10.0-2.8 · x86_64 · tumbleweed

      Unknown · Fixed: 1.9.3-2.1

      Version impact unknown

      dsa · lz4 · opensuse · tumbleweed

  • [lz4]Fixed

    Source package: [lz4]

    Details (1)
    • 1.10.0-2.8 · x86_64 · tumbleweed

      Fixed · Fixed: 1.9.3-2.1

      dsa · lz4 · opensuse · tumbleweed

[Debian 12 (Bookworm)]

  • [liblz4-1]Fixed

    Source package: [lz4]

    Details (2)
    • 1.9.4-1 · amd64 · bookworm

      Fixed · Fixed: 1.9.3-2

      dsa · lz4 · debian · bookworm

    • 1.9.4-1 · arm64 · bookworm

      Fixed · Fixed: 1.9.3-2

      dsa · lz4 · debian · bookworm

  • [liblz4-dev]Fixed

    Source package: [lz4]

    Details (2)
    • 1.9.4-1 · amd64 · bookworm

      Fixed · Fixed: 1.9.3-2

      dsa · lz4 · debian · bookworm

    • 1.9.4-1 · arm64 · bookworm

      Fixed · Fixed: 1.9.3-2

      dsa · lz4 · debian · bookworm

  • Source package: [lz4]

    Details (2)
    • 1.9.4-1 · all · bookworm

      Fixed · Fixed: 1.9.3-2

      dsa · lz4 · debian · bookworm

    • 1.9.4-1 · all · bookworm

      Fixed · Fixed: 1.9.3-2

      dsa · lz4 · debian · bookworm

  • [lz4]Fixed
    Details (2)
    • 1.9.4-1 · amd64 · bookworm

      Fixed · Fixed: 1.9.3-2

      dsa · lz4 · debian · bookworm

    • 1.9.4-1 · arm64 · bookworm

      Fixed · Fixed: 1.9.3-2

      dsa · lz4 · debian · bookworm

Observed:

References