# What is CVE-2012-2098?

> CVE-2012-2098 is a medium-severity flaw (CVSS 5.0) in Commons Compress from Apache, published on 29 June 2012. It is not on the list of flaws known to be exploited today. The latest forecast puts its chance of use in the next 30 days at 13%. If you run an affected version, plan in the vendor’s fix.

Canonical page: https://www.precursorintelligence.com/what-is/cve-2012-2098

## At a glance

- **Verdict:** Fix this soon. Not confirmed as exploited yet, but serious or likely enough that it should not wait for a quiet month.
- **Precursor Intelligence risk score:** 26 out of 100 (Low); action: Monitor. Kept up to date as the evidence changes.
- **Severity:** Medium (CVSS 5.0 out of 10)
- **Known to be exploited:** No, not on the list of flaws known to be exploited today
- **Chance of use in the next 30 days:** 13% (latest exploit-likelihood forecast)
- **Published:** 29 June 2012
- **Record last updated:** 11 April 2025
- **Main product:** Commons Compress from Apache
- **Affected products:** 1

## What is CVE-2012-2098? In plain terms

It can be attacked from anywhere on the internet without logging in. If it works, the attacker can slow it down.

### The official 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.

### What kind of flaw is it?

- Unknown: Unknown

### How an attack on it works

- Where an attacker can be: Anywhere on the internet
- How hard it is to pull off: Easy: no special conditions
- Login needed first: No login needed
- What an attacker gets: Can slow it down

Severity vector: `AV:N/AC:L/Au:N/C:N/I:N/A:P`

## Is CVE-2012-2098 being exploited? Not that we know of

It is not on the list of flaws known to be exploited today. The latest forecast puts the chance of it being used in the next 30 days at 13%. That can change at any time, which is why we keep watching.

Exploit likelihood over the last 7 days: 13%, 13%, 13%, 13%, 13%, 13%, 13%.

### Timeline

- 29 June 2012: Published
- 11 April 2025: Record last updated
- 16 June 2026: Exploit likelihood jumped

### How Precursor Intelligence ranks it

CVE-2012-2098 scores **26 out of 100 (Low)**, with the action "Monitor".

Every published flaw gets a risk score from 0 to 100, kept up to date as the evidence changes. Four things go into the score, from the one that counts most to the ones that count less:

- Evidence it is being exploited: biggest factor
- How severe it is: strong factor
- How widely exposed it is: smaller factor
- Threat activity around it: smaller factor

85 and above is Critical. Anything confirmed as exploited is always marked for an emergency patch, whatever its score. When this flaw matches software you track, it lands in your list with its score and the reasons behind it.

## Who is affected by CVE-2012-2098?

The published record lists 1 product. Versions are as published: "before 1.4.1" means every version up to, but not including, 1.4.1.

- [Commons Compress](https://www.precursorintelligence.com/product/apache/commons_compress) by [Apache](https://www.precursorintelligence.com/vendors/apache) (Application): before 1.4.1

## How do I fix CVE-2012-2098?

1. **Check whether you run it.** Compare your versions with the affected products above. Not sure what you run? Precursor Intelligence can work it out from your public website, or you can pick it from a list.
2. **Apply the vendor’s fix.** Install the update named in the vendor’s advisory. We’ve put the advisories and patch notes first in the list.
3. **If you can’t patch today.** Follow any mitigation the vendor publishes, and limit who can reach the affected system from the internet until the update is in.
4. **Keep an eye on it.** Track the product and we tell you as soon as we spot this flaw on the list of exploited flaws, or a jump in its exploit likelihood.

### References

- [ant.apache.org](http://ant.apache.org/security.html) (Vendor advisory)
- [commons.apache.org](http://commons.apache.org/compress/security.html) (Vendor advisory)
- [secunia.com](http://secunia.com/advisories/49255) (Vendor advisory)
- [archives.neohapsis.com](http://archives.neohapsis.com/archives/bugtraq/2012-05/0130.html) (Third-party advisory)
- [lists.fedoraproject.org](http://lists.fedoraproject.org/pipermail/package-announce/2012-June/081697.html) (Third-party advisory)
- [lists.fedoraproject.org](http://lists.fedoraproject.org/pipermail/package-announce/2012-June/081746.html) (Third-party advisory)
- [lists.fedoraproject.org](http://lists.fedoraproject.org/pipermail/package-announce/2013-May/105049.html) (Third-party advisory)
- [lists.fedoraproject.org](http://lists.fedoraproject.org/pipermail/package-announce/2013-May/105060.html) (Third-party advisory)
- [osvdb.org](http://osvdb.org/82161) (Broken link)
- [packetstormsecurity.org](http://packetstormsecurity.org/files/113014/Apache-Commons-Compress-Apache-Ant-Denial-Of-Service.html) (Third-party advisory)
- [secunia.com](http://secunia.com/advisories/49286) (Third-party advisory)
- [www-01.ibm.com](http://www-01.ibm.com/support/docview.wss?uid=swg21644047) (Third-party advisory)
- [openwall.com](http://www.openwall.com/lists/oss-security/2023/09/13/3)
- [securityfocus.com](http://www.securityfocus.com/bid/53676) (Third-party advisory, Vulnerability database)
- [securitytracker.com](http://www.securitytracker.com/id?1027096) (Third-party advisory, Vulnerability database)
- [exchange.xforce.ibmcloud.com](https://exchange.xforce.ibmcloud.com/vulnerabilities/75857) (Third-party advisory, Vulnerability database)
- [lists.apache.org](https://lists.apache.org/thread.html/r204ba2a9ea750f38d789d2bb429cc0925ad6133deea7cbc3001d96b5%40%3Csolr-user.lucene.apache.org%3E)
- [oracle.com](https://www.oracle.com/security-alerts/cpujan2021.html) (Third-party advisory)

## Questions

### What is CVE-2012-2098?

CVE-2012-2098 is a medium-severity flaw in Commons Compress from Apache, published on 29 June 2012. It can be attacked from anywhere on the internet without logging in. If it works, the attacker can slow it down.

### How serious is CVE-2012-2098?

It scores 5.0 out of 10 on the CVSS severity scale, which is medium. Our risk score for CVE-2012-2098 is 26 out of 100, which is Low. Its action is "Monitor". Not confirmed as exploited yet, but serious or likely enough that it should not wait for a quiet month.

### Is CVE-2012-2098 being exploited?

It is not on the list of flaws known to be exploited today. The latest forecast puts the chance of it being used in the next 30 days at 13%. That can change at any time, which is why we keep watching.

### Which versions does CVE-2012-2098 affect?

For Commons Compress from Apache: before 1.4.1.

### How do I fix CVE-2012-2098?

Install the update the vendor names in its advisory, linked first under "How do I fix" on this page. If you can't patch today, follow the vendor's mitigation and limit who can reach the affected system from the internet.

## Does CVE-2012-2098 affect you?

Precursor Intelligence keeps checking for you:

- **Tell us what you run.** Pick your software from a list, or let us work it out from your website.
- **We match it to every flaw.** Over 400,000 published flaws, checked against your list.
- **Ranked by real-world risk.** Every flaw gets a 0 to 100 risk score, kept up to date, led by evidence criminals are using it.
- **Told as soon as we know.** An alert by email, in the app or by webhook to your own tools.

Start free (no card, nothing to install): https://www.precursorintelligence.com/register
Book a demo: https://www.precursorintelligence.com/contact

