CVE-2024-25710 — commons-compress
HIGHCVE-2024-25710 is a high-severity (CVSS 8.1) CWE-835 vulnerability in org.apache.commons:commons-compress. A fix is available for org.apache.commons:commons-compress — see the affected versions and patch details below.
Apache Commons Compress: Denial of service caused by an infinite loop for a corrupted DUMP file
Exploitation Status
No confirmed exploitation observed yet
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for CVE-2024-25710.
EPSS Exploitation Probability
EPSS (Exploit Prediction Scoring System) is a daily probability model maintained by FIRST.org. It estimates the likelihood a CVE will be exploited in production environments within the next 30 days, derived from real-world threat intelligence signals.
How urgent is this, really
CVE-2024-25710 plotted by exploitation likelihood (EPSS) against impact (CVSS). The shaded corner — EPSS 50%+ and CVSS 7.0+ — is where this CVE doesn't sit, though severity or exploitability alone can still warrant action.
Where this sits among everything scored
Of 379,145 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Real counts from FIRST.org, not a sample — log-scaled since the landscape is heavily right-skewed.
Real-World Exposure
org.apache.commons:commons-compressReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
Loop with Unreachable Exit Condition ('Infinite Loop') vulnerability in Apache Commons Compress. This issue affects Apache Commons Compress: from 1.3 through 1.25.0.
Users are recommended to upgrade to version 1.26.0 which fixes the issue.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.apache.commons:commons-compress | ≥ 1.3&&< 1.26.0 | 1.26.0org.apache.commons:commons-compress:1.26.0 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.apache.commons:commons-compress, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.apache.commons:commons-compress to 1.26.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2024-25710 is resolved across your whole dependency graph.
Workarounds
Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.
How O3 protects you
O3 Security's impact-aware SCA analyses which vulnerable code paths your application actually calls, so a match like CVE-2024-25710 can be triaged on real exposure rather than presence alone.
Tailored to CVE-2024-25710. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
No mitigation is currently available for this vulnerability.Source: Red Hat security advisory for CVE-2024-25710 (CC BY 4.0)
| Product | Fixed in | Advisory |
|---|---|---|
| CEQ 3.2 | commons-compress | RHSA-2024:1706 |
| Migration Toolkit for Runtimes 1 on RHEL 8 | commons-compress | RHSA-2024:1924 |
| MTA-6.2-RHEL-9 | mta/mta-windup-addon-rhel9:6.2.3-2 | RHSA-2024:3989 |
| Red Hat AMQ Broker 7.13.0 | commons-compress | RHSA-2025:7625 |
| Red Hat AMQ Streams 2.7.0 | see advisory | RHSA-2024:3527 |
| Red Hat build of Quarkus 2.13.9.SP2 | org.apache.commons/commons-compress:1.26.1.redhat-00001 | RHSA-2024:1797 |
| Red Hat build of Quarkus 3.2.11.Final | org.apache.commons/commons-compress:1.26.0.redhat-00001 | RHSA-2024:1662 |
| Red Hat Data Grid | commons-compress | RHSA-2024:1509 |
Frequently Asked Questions
Is CVE-2024-25710 in your dependencies?
O3 Security finds CVE-2024-25710 across Maven dependencies, including transitive ones, and its impact-aware SCA ranks findings by whether your code actually calls the vulnerable path.