NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
☕ Maven
Not in CISA KEV

CVE-2012-2098 — commons-compress

Fix: apache/commons-compress@020c03d

CVE-2012-2098 is a CWE-310 vulnerability in org.apache.commons:commons-compress. EPSS puts its 30-day exploitation probability at 12.8% (96th percentile). A fix is available for org.apache.commons:commons-compress — see the affected versions and patch details below.

Uncontrolled Resource Consumption in Apache Commons Compress

Also known asGHSA-6fxm-66hq-fc96
Published
Updated
Affected
1 pkg
Patched
1 / 1
Exploits
None indexed
Exploitation data as of Nov 6, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
12.8%probability of exploitation in next 30 days
Moderate Risk-0.04%
Lower risk than most CVEs96th percentile — riskier than 96% of all scored CVEsHighest risk
0.00%5.38%10.8%16.1%3.7%12.8%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

Real-World Exposure

1 pkg affected
☕org.apache.commons:commons-compress

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.

Description

Algorithmic complexity vulnerability in the sorting algorithms in bzip2 compressing stream (BZip2CompressorOutputStream) in Apache Commons Compress before 1.4.1 allows remote attackers to cause a denial of service (CPU consumption) via a file with many repeating inputs.

Affected Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
☕Mavenorg.apache.commons:commons-compressall versions1.4.1org.apache.commons:commons-compress:1.4.1

Affected Products

1 product · 1 configurations
Application
commons compressapache
< 1.4.1
range

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.apache.commons:commons-compress, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update org.apache.commons:commons-compress to 1.4.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2012-2098 is resolved across your whole dependency graph.

  3. Workarounds

    Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.

Frequently Asked Questions

Algorithmic complexity vulnerability in the sorting algorithms in bzip2 compressing stream (BZip2CompressorOutputStream) in Apache Commons Compress before 1.4.1 allows remote attackers to cause a denial of service (CPU consumption) via a file with many repeating inputs.
O3 Security · Impact-Aware SCA

Is CVE-2012-2098 in your dependencies?

Find it across Maven, including transitive dependencies.

CVE-2012-2098: commons-compress DoS — Fixed in 1.4.1