CVE-2012-2098Apache Commons Compress
Medium 5.0 No auth neededHigh EPSS
Follow: this CVE · Apache · Apache Commons Compress We alert you by email or Slack (account required).
- Priority
- 46
- CVSS 2.0
- 5.0
- EPSS
- 12.8% probability of exploitation in 30 days · percentile 97
- Auth required
- No
- Published
- Jun 29, 2012
- Updated
- Jun 16, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-310
- Vector
AV:N/AC:L/Au:N/C:N/I:N/A:P
What happens
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.
What to do
- Apply the vendor's security update for Commons Compress.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache.commons:commons-compress |
< 1.4.1 |
1.4.1 |
— |
Per OSV / GitHub Advisories (GHSA-6fxm-66hq-fc96). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | commons_compress | < 1.4.1 |
Official sources
References
Links published by the sources. Open them with care.
- ant.apache.org Vendor Advisory
- archives.neohapsis.com Third Party Advisory
- commons.apache.org Vendor Advisory
- lists.fedoraproject.org Third Party Advisory
- lists.fedoraproject.org Third Party Advisory
- lists.fedoraproject.org Third Party Advisory
- lists.fedoraproject.org Third Party Advisory
- osvdb.org Broken Link
- packetstormsecurity.org Third Party Advisory
- secunia.com Vendor Advisory
- secunia.com Third Party Advisory
- www-01.ibm.com Third Party Advisory
- www.openwall.com
- www.securityfocus.com Third Party Advisory VDB Entry
- www.securitytracker.com Third Party Advisory VDB Entry
- exchange.xforce.ibmcloud.com Third Party Advisory VDB Entry
- lists.apache.org
- www.oracle.com Third Party Advisory