Every CVE Search/ Get API key

CVE-2012-2098

Uncontrolled Resource Consumption in Apache Commons Compress

5.0 MediumFix available

CVE-2012-2098 is a medium vulnerability (CVSS 5.0) in Apache Commons Compress, published June 29, 2012. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 12.8%, the 96th percentile. Fixed in org.apache.commons:commons-compress 1.4.1.

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.

Exploit likelihood

12.8%Up 6.4 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 5.0

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.

Record
CVE-2012-2098
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:N/I:N/A:P
Weakness
CWE-310
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2012-2098
Updated
2026-11-02
EUVDEUVD-2022-2784 No score

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.

Record
EUVD-2022-2784
Updated
2026-11-03
GitHub AdvisoriesGHSA-6fxm-66hq-fc96 No score

Uncontrolled Resource Consumption in Apache Commons Compress

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.

Record
GHSA-6fxm-66hq-fc96
Weakness
CWE-400
Updated
2026-11-02
OSV No score

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.

Record
CVE-2012-2098
Updated
2026-11-02
OSVDEBIAN-CVE-2012-2098 No score

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.

Record
DEBIAN-CVE-2012-2098
Updated
2026-11-02
OSVGHSA-6fxm-66hq-fc96 No score

Uncontrolled Resource Consumption in Apache Commons Compress

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.

Record
GHSA-6fxm-66hq-fc96
Weakness
CWE-400
Updated
2026-11-02
OSVMGASA-2014-0056 No score

Updated plexus-archiver package fixes security vulnerability

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 (CVE-2012-2098).

plexus-archiver used an embedded copy of the affected code from Apache Commons Compress, and therefore was affected by this. It has been patched to use the apache-commons-compress package, in which this issue has already been fixed, for bzip2 compression and decompression.

Record
MGASA-2014-0056
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
org.apache.commons:commons-compress
Maven
before 1.4.1
1.4.1
libcommons-compress-java
Debian:12
before 1.4.1-1
1.4.1-1
libcommons-compress-java
Debian:13
before 1.4.1-1
1.4.1-1
libcommons-compress-java
Debian:14
before 1.4.1-1
1.4.1-1
org.apache.commons:commons-compress
Maven
before 1.4.1, plus listed versions
1.01.11.21.31.4
1.4.1
plexus-archiver
Mageia:3
before 2.3-1.1.mga3
2.3-1.1.mga3

History

History
WhenChangedSources
2026-11-03aliasesEUVD
2026-11-02createdCVE List, GitHub Advisories, NVD, OSV

References

Show 35 moreShow less
MoveEnter Open