The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2024-25710

CVE-2024-25710: Apache Commons Compress DoS Vulnerability

CVE-2024-25710 is a denial of service vulnerability in Apache Commons Compress caused by an infinite loop condition. Versions 1.3 through 1.25.0 are affected. This article covers technical details, impact, and mitigation.

Published: January 28, 2026

CVE-2024-25710 Overview

CVE-2024-25710 is an Infinite Loop vulnerability (CWE-835) affecting Apache Commons Compress, a widely-used Java library for working with archive and compression formats. The vulnerability exists in versions 1.3 through 1.25.0 and can be exploited to cause a denial of service condition when processing specially crafted input.

When triggered, the vulnerability causes the application to enter an infinite loop, consuming CPU resources and potentially rendering the affected service unavailable. This is particularly concerning given the widespread use of Apache Commons Compress in enterprise Java applications for handling archive operations.

Critical Impact

Applications using vulnerable versions of Apache Commons Compress can be forced into an infinite loop through malicious input, leading to denial of service and potential system resource exhaustion.

Affected Products

  • Apache Commons Compress versions 1.3 through 1.25.0
  • Applications and services utilizing vulnerable Apache Commons Compress library versions
  • Enterprise systems relying on Apache Commons Compress for archive processing

Discovery Timeline

  • 2024-02-19 - CVE-2024-25710 published to NVD
  • 2025-11-04 - Last updated in NVD database

Technical Details for CVE-2024-25710

Vulnerability Analysis

The vulnerability is classified as a Loop with Unreachable Exit Condition, commonly known as an Infinite Loop (CWE-835). This type of flaw occurs when a program's loop logic contains a condition that can never be satisfied under certain circumstances, causing the loop to execute indefinitely.

In the context of Apache Commons Compress, the vulnerability manifests during the processing of specific archive or compressed data structures. When an attacker provides specially crafted input data, the library's parsing logic enters a loop state where the exit condition becomes unreachable, causing the processing thread to spin indefinitely.

The attack requires local access and user interaction—such as opening a malicious archive file—but requires no special privileges. The impact is primarily availability-focused, as successful exploitation results in complete denial of service without affecting data confidentiality or integrity.

Root Cause

The root cause stems from improper loop termination logic within the Apache Commons Compress library's archive parsing routines. When handling certain malformed or specially crafted archive structures, the loop counter or exit condition fails to reach its expected termination state. This allows an attacker to construct input that will cause the parsing algorithm to loop indefinitely, exhausting CPU resources on the affected system.

Attack Vector

The attack vector for CVE-2024-25710 requires local access with user interaction. An attacker would need to craft a malicious archive file and entice a victim to process it using an application that relies on vulnerable versions of Apache Commons Compress.

Attack scenarios include:

  • Embedding malicious archive files in email attachments
  • Uploading crafted archives to file processing systems
  • Including malicious compressed data in data import workflows
  • Targeting build systems that process archive dependencies

The vulnerability exploits the archive parsing functionality by providing input that manipulates loop control variables or conditions, preventing normal termination of the processing routine. Technical details regarding the specific exploitation mechanics can be found in the Openwall OSS Security Discussion.

Detection Methods for CVE-2024-25710

Indicators of Compromise

  • Unusually high CPU utilization by Java processes handling archive operations
  • Application threads stuck in prolonged processing states when handling archive files
  • Service timeouts or unresponsiveness when processing compressed files
  • Thread dumps showing loops within Apache Commons Compress classes

Detection Strategies

  • Monitor Java application logs for abnormal processing times on archive operations
  • Implement thread monitoring to detect threads that exceed expected processing durations
  • Configure application-level timeouts for archive extraction and compression operations
  • Scan application dependencies for Apache Commons Compress versions between 1.3 and 1.25.0

Monitoring Recommendations

  • Deploy dependency scanning tools to identify vulnerable Apache Commons Compress versions across your environment
  • Set up alerts for CPU consumption anomalies in services that process archive files
  • Monitor thread states in Java applications for signs of infinite loop conditions
  • Implement resource limits on archive processing operations to prevent system-wide impact

How to Mitigate CVE-2024-25710

Immediate Actions Required

  • Upgrade Apache Commons Compress to version 1.26.0 or later immediately
  • Audit all applications and services for use of vulnerable library versions
  • Implement input validation and size limits for archive files before processing
  • Configure processing timeouts to prevent indefinite resource consumption

Patch Information

Apache has released version 1.26.0 of Commons Compress which addresses this vulnerability. Users are strongly recommended to upgrade to this version or later. The official advisory and upgrade guidance is available through the Apache Mailing List Thread.

Additional vendor-specific guidance:

  • NetApp Security Advisory provides information for NetApp product users

Workarounds

  • Implement strict input validation to reject suspicious or malformed archive files before processing
  • Configure processing timeouts at the application level to automatically terminate long-running archive operations
  • Deploy resource isolation (containers, cgroups) to limit the blast radius of potential DoS conditions
  • Consider using file type verification before passing data to the compression library
bash
# Maven dependency update example
# Update pom.xml to use patched version
# Replace:
#   <dependency>
#     <groupId>org.apache.commons</groupId>
#     <artifactId>commons-compress</artifactId>
#     <version>1.25.0</version>
#   </dependency>
# With:
#   <dependency>
#     <groupId>org.apache.commons</groupId>
#     <artifactId>commons-compress</artifactId>
#     <version>1.26.0</version>
#   </dependency>

# Verify the upgrade
mvn dependency:tree | grep commons-compress

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechApache Commons Compress

  • SeverityMEDIUM

  • CVSS Score5.5

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-835
  • Technical References
  • Openwall OSS Security Discussion

  • NetApp Security Advisory

  • Full Disclosure Security Post
  • Vendor Resources
  • Apache Mailing List Thread
  • Related CVEs
  • CVE-2024-26308: Apache Commons Compress DOS Vulnerability

  • CVE-2023-42503: Apache Commons Compress DOS Vulnerability

  • CVE-2021-35517: Apache Commons Compress DoS Vulnerability

  • CVE-2021-35515: Apache Commons Compress DOS Vulnerability
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English