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
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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-0450

CVE-2024-0450: CPython zipfile Module DoS Vulnerability

CVE-2024-0450 is a denial-of-service flaw in CPython's zipfile module affecting versions 3.8.18 through 3.12.1. Attackers can exploit quoted-overlap zip-bombs to cause DoS. This article covers technical details, impact, and fixes.

Published: January 28, 2026

CVE-2024-0450 Overview

An issue was found in the CPython zipfile module affecting versions 3.12.1, 3.11.7, 3.10.13, 3.9.18, and 3.8.18 and prior. The zipfile module is vulnerable to "quoted-overlap" zip-bombs which exploit the zip format to create a zip-bomb with a high compression ratio. The fixed versions of CPython make the zipfile module reject zip archives which overlap entries in the archive.

This vulnerability represents a Denial of Service (DoS) attack vector through resource exhaustion. Attackers can craft malicious zip archives that, when processed by vulnerable Python applications, can consume excessive system resources and potentially crash the application or system.

Critical Impact

Applications using CPython's zipfile module to process untrusted zip archives are vulnerable to denial of service through quoted-overlap zip-bombs that can achieve extremely high compression ratios and exhaust system resources.

Affected Products

  • CPython 3.12.1 and prior
  • CPython 3.11.7 and prior
  • CPython 3.10.13 and prior
  • CPython 3.9.18 and prior
  • CPython 3.8.18 and prior

Discovery Timeline

  • March 19, 2024 - CVE-2024-0450 published to NVD
  • November 3, 2025 - Last updated in NVD database

Technical Details for CVE-2024-0450

Vulnerability Analysis

The vulnerability exists in CPython's zipfile module due to improper handling of zip archive structures. The "quoted-overlap" technique allows attackers to create zip archives where multiple entries reference the same compressed data with overlapping file offsets. This exploitation of the zip format specification enables the creation of zip-bombs with extraordinarily high compression ratios.

When a vulnerable Python application processes such a malicious archive, the extraction or reading process can result in massive memory consumption and CPU utilization as the same compressed data is repeatedly decompressed for what appears to be multiple distinct files. This can lead to complete system resource exhaustion and denial of service.

The attack vector is local, requiring the attacker to deliver a malicious zip file to the target system. However, many applications process user-supplied zip archives, making this vulnerability particularly dangerous for web services, file upload handlers, and automated processing systems.

Root Cause

The root cause is classified as CWE-405 (Asymmetric Resource Consumption - Amplification). The zipfile module did not validate whether zip archive entries overlap in the compressed data stream. The zip format allows specifying file offsets and sizes independently, and without proper validation, an attacker can construct archives where multiple logical files point to the same or overlapping compressed data regions, creating an asymmetric amplification between the small input archive size and the massive decompressed output.

Attack Vector

The attack requires local access to deliver a malicious zip file to the target application. The attacker crafts a specially constructed zip archive using the quoted-overlap technique, where multiple file entries in the archive's central directory reference overlapping portions of the same compressed data block.

When a vulnerable application uses Python's zipfile module to list, extract, or read the archive contents, the module processes each entry independently without detecting the overlap. This results in the same compressed data being decompressed multiple times, potentially consuming gigabytes or terabytes of memory and disk space from an archive that may only be kilobytes in size.

For more technical details on zip-bomb construction techniques, refer to the Bam Software Zip Bomb Article.

Detection Methods for CVE-2024-0450

Indicators of Compromise

  • Unexpected memory exhaustion or out-of-memory errors when processing zip archives
  • Disk space rapidly filling during zip extraction operations
  • Python processes consuming abnormally high CPU and memory resources
  • Application crashes or hangs during zip file processing operations

Detection Strategies

  • Monitor Python application resource consumption patterns for anomalous spikes during file processing operations
  • Implement pre-extraction analysis of zip archives to detect suspiciously high compression ratios
  • Log and alert on zip extraction operations that exceed expected size thresholds
  • Use file integrity monitoring to detect large numbers of extracted files from small archives

Monitoring Recommendations

  • Configure resource limits for processes that handle zip file extraction
  • Implement logging for all zip archive processing operations including source, size, and extraction metrics
  • Monitor for Python process crashes with memory-related errors
  • Set up alerts for disk space consumption anomalies in directories where zip files are extracted

How to Mitigate CVE-2024-0450

Immediate Actions Required

  • Upgrade CPython to patched versions: 3.12.2+, 3.11.8+, 3.10.14+, 3.9.19+, or 3.8.19+
  • Review all applications that process untrusted zip files using Python's zipfile module
  • Implement resource limits and sandboxing for zip extraction processes
  • Consider using alternative archive handling libraries with built-in zip-bomb protection

Patch Information

Multiple patches have been released across all supported CPython branches. The fix makes the zipfile module reject zip archives which contain overlapping entries. Organizations should update to the latest patched version for their respective Python branch.

Patch commits are available in the GitHub CPython repository. Additional information is available through the Python Security Announce Thread and the Openwall Security List Post.

Linux distribution users should apply updates from their respective package repositories:

  • Debian LTS Security Announcements
  • Fedora Package Announcements

Workarounds

  • Implement file size limits and decompression ratio checks before processing zip archives
  • Use containerization or sandboxing to isolate zip extraction processes with strict resource limits
  • Validate zip archives with external tools that detect quoted-overlap patterns before processing with Python
  • Limit the maximum number of files and total extracted size allowed from user-supplied archives
bash
# Example: Setting resource limits for Python processes handling zip files
# Using ulimit to restrict memory for the extraction process
ulimit -v 1048576  # Limit virtual memory to 1GB
ulimit -f 524288   # Limit file size to 512MB

# Alternative: Use cgroups for more granular control
# Create a memory-limited cgroup for zip processing
cgcreate -g memory:/zip_processing
echo 1073741824 > /sys/fs/cgroup/memory/zip_processing/memory.limit_in_bytes
cgexec -g memory:zip_processing python extract_archive.py

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechPython

  • SeverityMEDIUM

  • CVSS Score6.2

  • EPSS Probability0.15%

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

  • GitHub CPython Commit Update

  • GitHub CPython Commit Update

  • GitHub CPython Commit Update

  • GitHub CPython Commit Update

  • GitHub CPython Commit Update

  • GitHub CPython Commit Update

  • GitHub CPython Commit Update

  • GitHub CPython Issue Discussion

  • Debian LTS Announce Update

  • Debian LTS Announce Update

  • Fedora Package Announcement

  • Fedora Package Announcement

  • Python Security Announce Thread

  • Bam Software Zip Bomb Article

  • Debian LTS Announce Update

  • Debian LTS Announce Update

  • NetApp Security Advisory
  • Related CVEs
  • CVE-2025-5302: LlamaIndex JSONReader DoS Vulnerability

  • CVE-2025-13837: Python plistlib Module DoS Vulnerability

  • CVE-2025-13836: Python Python DOS Vulnerability

  • CVE-2026-0994: Google Protobuf Python DoS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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