Skip to content
Fencer Intel
medium 5.0

CVE-2012-2098 json

Uncontrolled Resource Consumption in Apache Commons Compress

published 2012-06-29 14 y ago modified 2026-06-16 4 mo ago also GHSA-6fxm-66hq-fc96 , EUVD-2022-2784

cvss
5.0
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
12.8%
EPSS 12.8% chance of exploitation in 30 days, percentile 96%
public exploits
0
none known

Summary

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.

Patch / fix

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2012-2098 updated cvss 2.6

apache-commons-compress: denial of service flaw when compressing certain files

  • Red Hat Enterprise Linux 5 ant Red Hat Enterprise Linux 6 ant, ant-jmf, ant-jsch, ant-trax, ant-antlr, ant-junit, +15 more
    affected: no fix planned “Will not fix”
  • Red Hat JBoss BRMS 5 security Red Hat JBoss Portal 5 portal
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

12.81% chance of exploitation in the next 30 days, higher than 96% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 2.0 5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P

Affected packages

ecosystem package affected fixed in
maven org.apache.commons:commons-compress
<1.4.1
1.4.1

Classification

Weakness
  • CWE-310 Cryptographic Issues
  • CWE-400 Uncontrolled Resource Consumption

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.