CVE catalog

CVE-2021-35516

libcommons-compress-java: CVE-2021-35516

[CVE catalog]

Severity
High · CVSS 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
Source
[NVD] · [CVE record]
EPSS
12.37% · Oct 25, 2026

When reading a specially crafted 7Z archive, Compress can be made to allocate large amounts of memory that finally leads to an out of memory error even for very small inputs. This could be used to mount a denial of service attack against services that use Compress' sevenz package.

Vulnerable and fixed packages

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

DistributionPackageReleaseVersionStatus
Debianlibcommons-compress-javasid1.28.0-1fixed
Debianlibcommons-compress-javaforky1.28.0-1fixed
Debianlibcommons-compress-javatrixie1.27.1-2fixed
Debianlibcommons-compress-javabookworm1.22-1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibcommons-compress-javasourcesid1.21-1not yet assignedNot reported[991041]
Debianlibcommons-compress-javasourceforky1.21-1not yet assignedNot reported[991041]
Debianlibcommons-compress-javasourcetrixie1.21-1not yet assignedNot reported[991041]
Debianlibcommons-compress-javasourcebookworm1.21-1not yet assignedNot reported[991041]

[Debian bug #991041]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

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

      Fixed · Fixed: 1.21-1

      dsa · libcommons-compress-java · debian · bookworm; dsa · libcommons-compress-java · debian · 12

    • 1.22-1 · all · bookworm

      Fixed · Fixed: 1.21-1

      dsa · libcommons-compress-java · debian · bookworm; dsa · libcommons-compress-java · debian · 12

[Debian 13 (Trixie)]

  • Details (2)
    • 1.27.1-2 · all · trixie

      Fixed · Fixed: 1.21-1

      dsa · libcommons-compress-java · debian · 13

    • 1.27.1-2 · all · trixie

      Fixed · Fixed: 1.21-1

      dsa · libcommons-compress-java · debian · 13

Observed:

References