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-26308

CVE-2024-26308: Apache Commons Compress DOS Vulnerability

CVE-2024-26308 is a denial of service vulnerability in Apache Commons Compress caused by resource allocation without limits. This flaw affects versions 1.21 through 1.25. This article covers technical details, impact, and mitigation.

Published: January 28, 2026

CVE-2024-26308 Overview

CVE-2024-26308 is a Resource Exhaustion vulnerability affecting Apache Commons Compress, a widely-used Java library for working with archive file formats. The vulnerability stems from improper allocation of resources without limits or throttling (CWE-770), which can allow an attacker to cause a denial of service condition by exhausting system memory when processing specially crafted archive files.

This issue affects Apache Commons Compress versions from 1.21 before 1.26. Users are strongly recommended to upgrade to version 1.26 or later, which addresses this vulnerability.

Critical Impact

Applications using affected versions of Apache Commons Compress may be vulnerable to denial of service attacks when processing untrusted archive files, potentially causing memory exhaustion and application crashes.

Affected Products

  • Apache Commons Compress versions 1.21 through 1.25.x
  • Applications and services that depend on vulnerable Apache Commons Compress versions
  • Java-based systems processing archive files using the affected library

Discovery Timeline

  • February 19, 2024 - CVE-2024-26308 published to NVD
  • March 27, 2025 - Last updated in NVD database

Technical Details for CVE-2024-26308

Vulnerability Analysis

The vulnerability exists due to improper resource allocation handling in Apache Commons Compress. When processing certain archive formats, the library fails to implement appropriate limits on resource consumption, allowing specially crafted archive files to trigger excessive memory allocation. This can lead to memory exhaustion and denial of service conditions in applications that process untrusted archive data.

The attack requires local access and user interaction, meaning an attacker would need to convince a user to process a malicious archive file using an application built with the vulnerable library. While this limits the attack surface, applications that automatically process uploaded or external archive files remain at heightened risk.

Root Cause

The root cause is classified as CWE-770: Allocation of Resources Without Limits or Throttling. The vulnerable code paths in Apache Commons Compress do not properly constrain memory allocation when decompressing or parsing archive structures. This allows archive files with specially crafted internal structures to cause the library to allocate excessive amounts of memory, far beyond what would be required for legitimate archive operations.

Attack Vector

The attack vector is local, requiring the attacker to deliver a malicious archive file to a victim system. This could be accomplished through various means such as:

  • Email attachments containing malicious archive files
  • File upload functionality in web applications
  • Automated processing pipelines that handle external archive files
  • Shared file storage systems

When a vulnerable application attempts to process the malicious archive, the library allocates excessive memory resources, potentially causing the application or even the entire system to become unresponsive due to resource exhaustion.

The vulnerability manifests during archive processing operations where resource bounds are not enforced. Attackers can craft archive files with structures that trigger unbounded memory allocation during decompression or parsing operations. For detailed technical analysis, refer to the Apache Mailing List Thread and the Openwall OSS Security Discussion.

Detection Methods for CVE-2024-26308

Indicators of Compromise

  • Abnormal memory consumption spikes in Java applications processing archive files
  • OutOfMemoryError exceptions in application logs during archive operations
  • Sudden application crashes or unresponsiveness when handling specific archive files
  • Unusual system resource exhaustion patterns correlated with archive processing activities

Detection Strategies

  • Implement software composition analysis (SCA) tools to identify applications using vulnerable versions of Apache Commons Compress (1.21 through 1.25.x)
  • Monitor Java applications for abnormal heap memory growth during archive processing operations
  • Set up alerting for OutOfMemoryError exceptions and unusual garbage collection patterns
  • Review dependency manifests (pom.xml, build.gradle) for affected library versions

Monitoring Recommendations

  • Configure JVM memory monitoring to detect abnormal allocation patterns in archive processing services
  • Implement application performance monitoring (APM) to track resource consumption during archive operations
  • Set up alerts for memory threshold breaches in services that handle archive file processing
  • Monitor for patterns of archive file uploads that could indicate exploitation attempts

How to Mitigate CVE-2024-26308

Immediate Actions Required

  • Upgrade Apache Commons Compress to version 1.26 or later immediately
  • Audit all applications and services to identify dependencies on vulnerable library versions
  • Review and update transitive dependencies that may include affected versions
  • Implement resource limits on archive processing operations as a defense-in-depth measure

Patch Information

Apache has released version 1.26 of Commons Compress that addresses this vulnerability. Organizations should update their Maven or Gradle dependencies to use the patched version. For detailed information about the fix, refer to the Apache Mailing List Thread. Additional vendor-specific guidance is available in the NetApp Security Advisory.

Workarounds

  • Implement input validation to reject archive files exceeding reasonable size thresholds before processing
  • Configure JVM memory limits to prevent individual processes from consuming excessive system resources
  • Isolate archive processing operations in sandboxed environments with strict resource constraints
  • Validate archive file sources and avoid processing archives from untrusted origins where possible
bash
# Example Maven dependency update to patched version
# Update pom.xml dependency to use fixed version 1.26 or later
# <dependency>
#   <groupId>org.apache.commons</groupId>
#   <artifactId>commons-compress</artifactId>
#   <version>1.26</version>
# </dependency>

# Verify current dependency versions
mvn dependency:tree | grep commons-compress

# Force update to latest patched version
mvn versions:use-latest-versions -Dincludes=org.apache.commons: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.45%

  • 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-770
  • Technical References
  • Openwall OSS Security Discussion

  • NetApp Security Advisory
  • Vendor Resources
  • Apache Mailing List Thread
  • Related CVEs
  • CVE-2024-25710: 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