# Uncontrolled Resource Consumption in Apache Commons Compress

Advisory record · `GHSA-6fxm-66hq-fc96`

- **Identifiers:** `GHSA-6fxm-66hq-fc96` · `CVE-2012-2098`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **Weakness (CWE):** [CWE-400](https://cwe.mitre.org/data/definitions/400.html)
- **Tags:** [Denial of service](https://agentprime.io/advisories/tag/dos.md)
- **Published:** 13 May 2022
- **Updated:** 28 Nov 2024
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 13 May 2022, 01:07 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `org.apache.commons:commons-compress` (Maven): affected `<1.4.1`; fixed in `1.4.1`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Apache Commons Compress versions before 1.4.1 are vulnerable. The sorting algorithms in the BZip2CompressorOutputStream can be driven into excessive CPU use when compressing input with many repeating sequences, so a remote attacker who can supply such a file can cause a denial of service. Upgrade to version 1.4.1 or later.

Written 8 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.13, the 96th percentile, on 17 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 15:13 UTC: First seen by agentprime
- 31 Oct 2026, 15:13 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-6fxm-66hq-fc96)

## Sources

- [GitHub Advisory Database: GHSA-6fxm-66hq-fc96](https://github.com/advisories/GHSA-6fxm-66hq-fc96)
- [OSV: GHSA-6fxm-66hq-fc96](https://osv.dev/vulnerability/GHSA-6fxm-66hq-fc96)
- <https://nvd.nist.gov/vuln/detail/CVE-2012-2098>
- <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>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-6fxm-66hq-fc96>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-6fxm-66hq-fc96/>. Everything for agents: <https://agentprime.io/llms.txt>.
