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

CVE-2024-8088: CPython zipfile.Path DOS Vulnerability

CVE-2024-8088 is a denial of service flaw in CPython zipfile.Path that causes infinite loops with malicious zip archives. This article covers the technical details, affected versions, impact, and mitigation strategies.

Published: January 28, 2026

CVE-2024-8088 Overview

A denial of service vulnerability exists in the CPython zipfile module, specifically affecting the zipfile.Path class. When iterating over names of entries in a zip archive using methods like namelist(), iterdir(), and similar functions, a maliciously crafted zip archive can cause the process to enter an infinite loop. This vulnerability impacts applications that process user-controlled zip archives, whether reading metadata or extracting contents. Notably, the more commonly used zipfile.ZipFile class is unaffected by this vulnerability.

Critical Impact

Applications processing untrusted zip files using zipfile.Path can be forced into an infinite loop, resulting in denial of service through CPU exhaustion. This affects any Python application that handles user-supplied zip archives for extraction or metadata inspection.

Affected Products

  • CPython zipfile.Path module (all versions prior to patched releases)
  • Python applications using zipfile.Path for zip archive processing
  • Systems processing user-controlled zip archives

Discovery Timeline

  • August 22, 2024 - CVE-2024-8088 published to NVD
  • November 3, 2025 - Last updated in NVD database

Technical Details for CVE-2024-8088

Vulnerability Analysis

This vulnerability is classified as CWE-835 (Loop with Unreachable Exit Condition), commonly known as an infinite loop vulnerability. The flaw resides in the zipfile.Path class implementation within CPython's standard library. When processing specially crafted zip archives, the iteration logic over archive entries fails to properly terminate, causing the program to consume CPU resources indefinitely.

The attack is network-accessible, requiring no authentication or user interaction to exploit. While the vulnerability does not directly compromise data confidentiality or integrity, it severely impacts system availability by rendering the affected process unresponsive. Applications that accept zip file uploads or process zip archives from external sources are particularly at risk.

Root Cause

The root cause lies in improper handling of entry iteration within the zipfile.Path class. When encountering malformed or specially constructed archive entries, the internal iteration mechanism fails to reach its exit condition, resulting in an infinite loop. This differs from the standard zipfile.ZipFile class, which implements different iteration logic and is therefore unaffected.

The vulnerability specifically manifests when using zipfile.Path methods that enumerate archive contents, such as namelist() and iterdir(). The malicious archive structure exploits assumptions in the path traversal and entry enumeration logic.

Attack Vector

An attacker can exploit this vulnerability by supplying a maliciously crafted zip archive to a vulnerable application. The attack requires network access to deliver the payload but needs no authentication or special privileges. The exploitation path involves:

  1. Crafting a zip archive with specific structural characteristics that trigger the infinite loop
  2. Submitting the malicious archive to a target application that processes it using zipfile.Path
  3. The application enters an infinite loop when iterating over archive entries, consuming CPU resources
  4. The target service becomes unresponsive, achieving denial of service

The vulnerability triggers during both metadata reading operations (such as listing file names) and content extraction, making it exploitable in various application contexts. Programs that do not handle user-controlled zip archives are not affected, as the attack requires the ability to supply malicious input.

Detection Methods for CVE-2024-8088

Indicators of Compromise

  • Processes using zipfile.Path showing abnormally high CPU utilization without completing operations
  • Python application workers becoming unresponsive when processing zip file uploads
  • Timeout errors or hung processes in services that handle zip archive extraction
  • Unusual patterns in uploaded zip files with malformed entry structures

Detection Strategies

  • Monitor for Python processes with sustained 100% CPU utilization during zip file processing
  • Implement application-level timeouts for zip archive operations to detect potential exploitation attempts
  • Review application logs for repeated timeout events when handling specific zip file uploads
  • Deploy file analysis tools to inspect incoming zip archives for malformed entry structures

Monitoring Recommendations

  • Configure process monitoring to alert on Python processes exceeding CPU thresholds during file operations
  • Implement request tracing to correlate hung processes with specific uploaded files
  • Set up resource quotas and watchdog processes for services handling user-uploaded archives
  • Enable detailed logging for zip file processing operations to identify problematic files

How to Mitigate CVE-2024-8088

Immediate Actions Required

  • Update CPython to the latest patched version that addresses this vulnerability
  • Audit applications for usage of zipfile.Path with user-controlled input and consider switching to zipfile.ZipFile where possible
  • Implement timeouts around zip file processing operations to prevent indefinite hangs
  • Restrict or validate zip file uploads before processing with zipfile.Path methods

Patch Information

The Python Software Foundation has released patches addressing this vulnerability across multiple Python versions. Multiple commits have been issued to the CPython repository to resolve this issue. Organizations should update to patched Python versions as soon as possible. For detailed patch information, refer to the Python Security Announcement and review the GitHub Pull Request #122906 for technical details.

Additional advisories have been issued by NetApp and Debian LTS for affected distributions.

Workarounds

  • Use zipfile.ZipFile instead of zipfile.Path for processing untrusted zip archives, as the former is unaffected
  • Implement process-level timeouts using signals or threading to terminate long-running zip operations
  • Run zip file processing in isolated worker processes with resource limits to contain potential denial of service
  • Validate and pre-screen zip files before processing using external tools that are not vulnerable to this issue
bash
# Example: Implement processing timeout for zip operations
# Use timeout command to limit execution time
timeout 30s python process_zip.py user_uploaded.zip

# Alternative: Configure resource limits for Python processes
ulimit -t 60  # Set CPU time limit in seconds
python process_zip.py user_uploaded.zip

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechPython

  • SeverityHIGH

  • CVSS Score8.7

  • EPSS Probability0.29%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:N/AU:N/R:U/V:X/RE:L/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-835
  • Technical References
  • GitHub Commit Update

  • GitHub Commit Update

  • GitHub Commit Update

  • GitHub Commit Update

  • GitHub Commit Update

  • GitHub Commit Update

  • GitHub Commit Update

  • GitHub Commit Update

  • GitHub Commit Update

  • GitHub Commit Update

  • GitHub Commit Update

  • GitHub Commit Update

  • GitHub Issue #122905

  • GitHub Issue #123270

  • GitHub Pull Request #122906

  • Python Security Announcement

  • Openwall OSS-Security Thread

  • Openwall OSS-Security Thread

  • Openwall OSS-Security Thread

  • Openwall OSS-Security Thread

  • Debian LTS Announcement

  • NetApp Security Advisory
  • Related CVEs
  • CVE-2025-13836: Python Python DOS Vulnerability

  • CVE-2026-0994: Google Protobuf Python DoS Vulnerability

  • CVE-2025-8194: CPython tarfile Module DoS Vulnerability

  • CVE-2024-7592: Python CPython 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