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
- maven org.apache.commons:commons-compress 1.4.1
- apache commons_compress 1.4.1
- libcommons-compress-java Debian 14, Debian 13, Debian 12 1.4.1-1
debian advisories DEBIAN-CVE-2012-2098
- github.com/apache/commons-compress@020c03d commit
- github.com/apache/commons-compress@0600296 commit
- github.com/apache/commons-compress@1ce57d9 commit
- github.com/apache/commons-compress@2ab2fcb commit
- github.com/apache/commons-compress@654222e commit
- github.com/apache/commons-compress@6ced422 commit
- github.com/apache/commons-compress@6e95697 commit
- github.com/apache/commons-compress@8f70246 commit
- github.com/apache/commons-compress@b06f7b4 commit
- github.com/apache/commons-compress@cca0e6e commit
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 moreaffected: no fix planned “Will not fix”
-
Red Hat JBoss BRMS 5 security Red Hat JBoss Portal 5 portalnot 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
References
-
github.com
/apache/commons-compress/commit/020c03d8ef579e80511023fb46ece30e9c3dd27d
web
-
github.com
/apache/commons-compress/commit/0600296ab8f8a0bbdfedd483f51b38005eb8e34e
web
-
github.com
/apache/commons-compress/commit/1ce57d976c4f25fe99edcadf079840c278f3cb84
web
-
github.com
/apache/commons-compress/commit/2ab2fcb356753927afaa731b9d2dcc47d3083408
web
-
github.com
/apache/commons-compress/commit/654222e628097763ee6ca561ae77be5c06666173
web
-
github.com
/apache/commons-compress/commit/6ced422bf5eca3aac05396367bafb33ec21bf74e
web
-
github.com
/apache/commons-compress/commit/6e95697e783767f3549f00d7d2e1b002eac4a3d4
web
-
github.com
/apache/commons-compress/commit/8f702469cbf4c451b6dea349290bc4af0f6f76c7
web
-
github.com
/apache/commons-compress/commit/b06f7b41c936ef1a79589d16ea5c1d8b93f71f66
web
-
github.com
/apache/commons-compress/commit/cca0e6e5341aacddefd4c4d36cef7cbdbc2a8777
web
-
github.com
/apache/commons-compress/commit/ea31005111f0abede7e43e4ba0012e62e0808b22
web
-
github.com
/apache/commons-compress/commit/fdd7459bc5470e90024dbe762249166481cce769
web
-
lists.fedoraproject.org
/pipermail/package-announce/2013-May/105060.html
vendor-advisory, web, third-party-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2012-June/081697.html
vendor-advisory, web, third-party-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2012-June/081746.html
vendor-advisory, web, third-party-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2013-May/105049.html
vendor-advisory, web, third-party-advisory
-
secunia.com
/advisories/49255
third-party-advisory, vendor-advisory
-
commons.apache.org
/compress/security.html
web, vendor-advisory
-
ant.apache.org
/security.html
web, vendor-advisory
-
exchange.xforce.ibmcloud.com
/vulnerabilities/75857
vdb-entry, web, third-party-advisory
-
archives.neohapsis.com
/archives/bugtraq/2012-05/0130.html
mailing-list, web, third-party-advisory
-
osvdb.org
/82161
vdb-entry, broken-link
-
securityfocus.com
/bid/53676
vdb-entry, third-party-advisory
-
securitytracker.com
/id?1027096
vdb-entry, third-party-advisory
-
secunia.com
/advisories/49286
third-party-advisory
-
lists.apache.org
/thread.html/r204ba2a9ea750f38d789d2bb429cc0925ad6133deea7cbc3001d96b5%40%3Csolr-user.lucene.apache.org%3E
mailing-list
-
www-01.ibm.com
/support/docview.wss?uid=swg21644047
web, third-party-advisory
-
packetstormsecurity.org
/files/113014/Apache-Commons-Compress-Apache-Ant-Denial-Of-Service.html
web, third-party-advisory
-
oracle.com
/security-alerts/cpujan2021.html
web, third-party-advisory
-
openwall.com
/lists/oss-security/2023/09/13/3
mailing-list, web
-
nvd.nist.gov
/vuln/detail/CVE-2012-2098
advisory
-
web.archive.org
/web/20140724002926/http://secunia.com/advisories/49286
web
-
web.archive.org
/web/20140724023114/http://secunia.com/advisories/49255
web
-
web.archive.org
/web/20200517014414/http://www.securitytracker.com/id?1027096
web
-
web.archive.org
/web/20130525085523/http://www.securityfocus.com/bid/53676
web
-
lists.apache.org
/thread.html/r204ba2a9ea750f38d789d2bb429cc0925ad6133deea7cbc3001d96b5@<solr-user.lucene.apache.org>
web
-
github.com
/apache/commons-compress
package
Sources
- CVE List CVE-2012-2098
- GitHub Advisory GHSA-6fxm-66hq-fc96
- NVD CVE-2012-2098
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.