Back
CVE-2012-2098
Algorithmic complexity vulnerability in the sorting algorithms in bzip2 compressing stream (BZip2CompressorOutputStream) in Apache Commons…
Medium5.0EPSS 12.8%
- Published
- Updated
- Reserved
- Assigned by
- redhat
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
- EPSS (exploitation in 30 days)
- 12.8% · top 3.7% of all CVEs (2 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.0.
Weakness
Affected products
n/a
- affected n/a
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.apache.commons:commons-compressGHSA-6fxm-66hq-fc96 (opens in a new tab)
References (18)
- FEDORA-2013-5548 (opens in a new tab)vendor-advisoryx_transferred
- apache-commons-ant-bzip2-dos(75857) (opens in a new tab)vdb-entryx_transferred
- FEDORA-2012-8428 (opens in a new tab)vendor-advisoryx_transferred
- 20120523 [CVE-2012-2098] Apache Commons Compress and Apache Ant denial of service vulnerability (opens in a new tab)mailing-listx_transferred
- 82161 (opens in a new tab)vdb-entryx_transferred
- 53676 (opens in a new tab)vdb-entryx_transferred
- 1027096 (opens in a new tab)vdb-entryx_transferred
- 49255 (opens in a new tab)third-party-advisoryx_transferred
- FEDORA-2012-8465 (opens in a new tab)vendor-advisoryx_transferred
- 49286 (opens in a new tab)third-party-advisoryx_transferred
- FEDORA-2013-5546 (opens in a new tab)vendor-advisoryx_transferred
- [lucene-solr-user] 20200320 CVEs (vulnerabilities) that apply to Solr 8.4.1 (opens in a new tab)mailing-listx_transferred
- http://commons.apache.org/compress/security.html (opens in a new tab)x_transferred
- http://www-01.ibm.com/support/docview.wss?uid=swg21644047 (opens in a new tab)x_transferred
- http://packetstormsecurity.org/files/113014/Apache-Commons-Compress-Apache-Ant-Denial-Of-Service.html (opens in a new tab)x_transferred
- http://ant.apache.org/security.html (opens in a new tab)x_transferred
- https://www.oracle.com/security-alerts/cpujan2021.html (opens in a new tab)x_transferred
- [oss-security] 20230913 CVE-2023-42503: Apache Commons Compress: Denial of service via CPU consumption for malformed TAR file (opens in a new tab)mailing-listx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-6fxm-66hq-fc96 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Record last updated .