MediumGHSA-4265-ccf5-phj5CVE-2024-26308

Apache Commons Compress: OutOfMemoryError unpacking broken Pack200 file

Published 19 Feb 2024 · Updated 10 Sept 2026

Is your project on an affected org.apache.commons:commons-compress?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

Affected
>=1.21 <1.26.0
Fixed in
1.26.0
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.apache.commons:commons-compress -DdepVersion=1.26.0 -DforceVersion=true

Details

Allocation of Resources Without Limits or Throttling vulnerability in Apache Commons Compress. This issue affects Apache Commons Compress: from 1.21 before 1.26.

Users are recommended to upgrade to version 1.26, which fixes the issue.

Is GHSA-4265-ccf5-phj5 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected org.apache.commons:commons-compress, and gives you the command that fixes it.

More advisories for org.apache.commons:commons-compress

  • MediumCVE-2024-25710Apache Commons Compress: Denial of service caused by an infinite loop for a corrupted DUMP file · 19 Feb 2024
  • MediumCVE-2023-42503Apache Commons Compress denial of service vulnerability · 14 Sept 2023
  • MediumCVE-2012-2098Uncontrolled Resource Consumption in Apache Commons Compress · 13 May 2022
  • HighCVE-2021-36090Improper Handling of Length Parameter Inconsistency in Compress · 2 Aug 2021
  • HighCVE-2021-35517Improper Handling of Length Parameter Inconsistency in Compress · 2 Aug 2021
  • HighCVE-2021-35516Improper Handling of Length Parameter Inconsistency in Compress · 2 Aug 2021
All 11 advisories for org.apache.commons:commons-compress

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.