Algorithmic complexity vulnerability in the sorting algorithms in bzip2 compressing…
Priority LOW 37CWE-310Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · Partial
- Fix status
- Partial Red Hat: 2 without a fix
Attack profile from CVSS 2.0 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-400.
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.
Why it matters now
EPSS 0.12806 96th percentileScored 2026-11-07
Fix Partial org.apache.commons:commons-compress (Maven): 1.4.1Red Hat: 2 without a fix
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | org.apache.commons:commons-compress (Maven) | before 1.4.1 | 1.4.1 | Patch available | GHSA-6fxm-66hq-fc96 |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- org.apache.commons:commons-compress (Maven) Vendor— Affected before 1.4.1 Fixed in 1.4.1 Patch available GHSA-6fxm-66hq-fc96
Remediation
- Fix · GHSA-6fxm-66hq-fc96 org.apache.commons:commons-compress (Maven) Fixed in 1.4.1 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 5 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Will not fix |
Not affected: 2 products
- Red Hat JBoss BRMS 5
- Red Hat JBoss Portal 5
Timeline
- 2026-10-02 Threatist record created from CVE-2012-2098
- 2026-10-03 Alias added: GHSA-6fxm-66hq-fc96
References
Advisory 11
- FEDORA-2013-5548
- FEDORA-2012-8428
- 20120523 [CVE-2012-2098] Apache Commons Compress and Apache Ant denial of service vulnerability
- FEDORA-2012-8465
- FEDORA-2013-5546
- http://commons.apache.org/compress/security.html
- http://www-01.ibm.com/support/docview.wss?uid=swg21644047
- http://packetstormsecurity.org/files/113014/Apache-Commons-Compress-Apache-Ant-Denial-Of-Service.html
- http://ant.apache.org/security.html
- https://www.oracle.com/security-alerts/cpujan2021.html
- https://nvd.nist.gov/vuln/detail/CVE-2012-2098
Other 21
- 82161
- [lucene-solr-user] 20200320 CVEs (vulnerabilities) that apply to Solr 8.4.1
- [oss-security] 20230913 CVE-2023-42503: Apache Commons Compress: Denial of service via CPU consumption for malformed TAR file
- https://github.com/apache/commons-compress/commit/020c03d8ef579e80511023fb46ece30e9c3dd27d
- https://github.com/apache/commons-compress/commit/0600296ab8f8a0bbdfedd483f51b38005eb8e34e
- https://github.com/apache/commons-compress/commit/1ce57d976c4f25fe99edcadf079840c278f3cb84
- https://github.com/apache/commons-compress/commit/2ab2fcb356753927afaa731b9d2dcc47d3083408
- https://github.com/apache/commons-compress/commit/654222e628097763ee6ca561ae77be5c06666173
- https://github.com/apache/commons-compress/commit/6ced422bf5eca3aac05396367bafb33ec21bf74e
- https://github.com/apache/commons-compress/commit/6e95697e783767f3549f00d7d2e1b002eac4a3d4
- https://github.com/apache/commons-compress/commit/8f702469cbf4c451b6dea349290bc4af0f6f76c7
- https://github.com/apache/commons-compress/commit/b06f7b41c936ef1a79589d16ea5c1d8b93f71f66
- https://github.com/apache/commons-compress/commit/cca0e6e5341aacddefd4c4d36cef7cbdbc2a8777
- https://github.com/apache/commons-compress/commit/ea31005111f0abede7e43e4ba0012e62e0808b22
- https://github.com/apache/commons-compress/commit/fdd7459bc5470e90024dbe762249166481cce769
- https://web.archive.org/web/20140724002926/http://secunia.com/advisories/49286
- https://web.archive.org/web/20140724023114/http://secunia.com/advisories/49255
- https://web.archive.org/web/20200517014414/http://www.securitytracker.com/id?1027096
- https://web.archive.org/web/20130525085523/http://www.securityfocus.com/bid/53676
- https://lists.apache.org/thread.html/r204ba2a9ea750f38d789d2bb429cc0925ad6133deea7cbc3001d96b5@<solr-user.lucene.apache.org>
- https://github.com/apache/commons-compress
More Apache Commons Compress vulnerabilities
- TI-2021-14540 Apache Commons Compress 1.0 to 1.20 denial of service vulnerability CVSS 3.1HIGH 7.5
- TI-2021-14251 Apache Commons Compress 1.1 to 1.20 denial of service vulnerability CVSS 3.1HIGH 7.5
- TI-2019-09249 Infinite loop in Apache Commons Compress CVSS 3.1HIGH 7.5
- TI-2021-14250 Apache Commons Compress 1.6 to 1.20 denial of service vulnerability CVSS 3.1HIGH 7.5
- TI-2021-14249 Apache Commons Compress 1.6 to 1.20 denial of service vulnerability CVSS 3.1HIGH 7.5
- TI-2024-16916 Apache Commons Compress: Denial of service caused by an infinite loop for a corrupted DUMP file CVSS 3.1HIGH 8.1
Sources
- CVE-2012-2098 · CVE Program
- CVE-2012-2098 · NVD
- FIRST EPSS
- GHSA-6fxm-66hq-fc96 · GitHub Advisory Database · CC BY 4.0
- CVE-2012-2098 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences