CVE-2024-25710: Apache Commons Compress Denial of Service

Summary

19/02/2024
Yes i
Moderate
5.9

CVE-2024-25710: Apache Commons Compress: Denial of service caused by an infinite loop for a corrupted DUMP file. Affects org.apache.commons:commons-compress versions >= 1.3, < 1.26.0. Fixed in 1.26.0. How to fix ↓

Also tracked for

The same CVE-2024-25710 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Apache Commons Compress is a Java library that provides support for working with various compression and archive formats. It is commonly used in applications that require file compression and decompression functionality. This vulnerability affects versions 1.3 through 1.25.0 of Apache Commons Compress. The vulnerability allows an attacker to cause a denial of service (DoS) by exploiting an infinite loop in the handling of corrupted DUMP files.

Vulnerability Detail

The vulnerability in Apache Commons Compress arises from an infinite loop condition, also known as a 'Loop with Unreachable Exit Condition.' When processing a corrupted DUMP file, the library enters an infinite loop, causing the application to hang or crash. This can lead to a DoS situation where the affected application becomes unresponsive or unavailable. The vulnerability has a CVSS score of 8.1, indicating a high severity level.

How To Fix

Latest published version: 1.28.0 as of 23 Oct 2026

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.26.0

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. Upgrading to the fixed version is the recommended solution.

Conclusion

The Apache Commons Compress library is vulnerable to a denial of service attack caused by an infinite loop when processing corrupted DUMP files. Users are advised to upgrade to version 1.26.0 to mitigate this vulnerability. For further support on vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for org.apache.commons:commons-compress →

Share this vulnerability

FAQ

Apache Commons Compress is a Java library for working with compression and archive formats.

The vulnerability allows an attacker to cause a denial of service by exploiting an infinite loop in the handling of corrupted DUMP files.

The CVSS score of this vulnerability is 8.1, indicating a high severity level.

To fix this vulnerability, upgrade to version 1.26.0 of Apache Commons Compress.

No, there is no known workaround. Upgrading to the fixed version is recommended.

Related vulnerabilities

Recent vulnerabilities recorded for org.apache.commons:commons-compress.

How To Fix

Latest published version: 1.28.0 as of 23 Oct 2026

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.26.0

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback