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-2025-66418

CVE-2025-66418: Python Urllib3 DOS Vulnerability

CVE-2025-66418 is a denial of service flaw in Python Urllib3 caused by unbounded decompression chains, leading to high CPU usage and memory exhaustion. This article covers technical details, affected versions, and fixes.

Published: March 11, 2026

CVE-2025-66418 Overview

CVE-2025-66418 is a resource exhaustion vulnerability in urllib3, a widely-used HTTP client library for Python. The vulnerability exists in versions starting from 1.24 up to (but not including) 2.6.0. The flaw allows a malicious server to send HTTP responses with an unbounded number of compression steps in the decompression chain, leading to high CPU usage and massive memory allocation when the client attempts to decompress the data.

Critical Impact

A malicious server can exploit this vulnerability to cause denial of service conditions on any Python application using vulnerable urllib3 versions, potentially exhausting system resources through CPU and memory consumption during HTTP response decompression.

Affected Products

  • Python urllib3 versions >= 1.24 and < 2.6.0
  • Applications and frameworks depending on vulnerable urllib3 versions
  • Python-based services making HTTP requests to untrusted servers

Discovery Timeline

  • December 5, 2025 - CVE-2025-66418 published to NVD
  • December 10, 2025 - Last updated in NVD database

Technical Details for CVE-2025-66418

Vulnerability Analysis

This vulnerability falls under CWE-770 (Allocation of Resources Without Limits or Throttling). The urllib3 library processes HTTP responses that may include compressed content using various encoding schemes such as gzip, deflate, or brotli. When handling responses with multiple layers of compression (a decompression chain), the library did not enforce any limit on the number of decompression steps that could be chained together.

A malicious server can craft an HTTP response with numerous nested compression layers. When a vulnerable urllib3 client receives this response, it will attempt to decompress each layer sequentially. Without bounds on the chain length, this can result in exponential resource consumption as the library allocates memory for intermediate decompression results and expends CPU cycles processing each compression step.

Root Cause

The root cause of this vulnerability is the absence of a maximum limit on the number of links allowed in the decompression chain. The urllib3 library's response handling code accepted an arbitrary number of Content-Encoding transformations without validating or restricting the total count. This design oversight allowed attackers to specify virtually unlimited compression steps, leading to resource exhaustion when the client processed the malicious response.

Attack Vector

The attack is network-based and requires no authentication or user interaction. An attacker must control or compromise a server that a vulnerable urllib3 client connects to. When the client makes an HTTP request to the malicious server, the server responds with a crafted response containing an excessive number of compression encoding headers. The client then attempts to process this response, triggering the resource exhaustion condition.

The attack scenario involves:

  1. Attacker sets up or compromises a web server
  2. Victim application using vulnerable urllib3 makes an HTTP request to the attacker-controlled server
  3. Server responds with deeply nested compression encodings
  4. urllib3 attempts to decompress all layers without limits
  5. Client system experiences high CPU usage and memory exhaustion

Detection Methods for CVE-2025-66418

Indicators of Compromise

  • Unusual memory consumption spikes in Python processes making HTTP requests
  • High CPU utilization associated with decompression operations in urllib3
  • Application crashes or out-of-memory errors during HTTP response processing
  • Network traffic containing HTTP responses with abnormally long or nested Content-Encoding headers

Detection Strategies

  • Monitor Python application resource usage for unexpected spikes during HTTP operations
  • Implement network inspection rules to detect HTTP responses with excessive Content-Encoding headers
  • Use application performance monitoring (APM) tools to identify slow or resource-intensive HTTP decompression operations
  • Audit installed Python packages to identify vulnerable urllib3 versions (>= 1.24 and < 2.6.0)

Monitoring Recommendations

  • Deploy resource monitoring on systems running Python applications that make outbound HTTP requests
  • Configure alerting thresholds for memory and CPU utilization anomalies
  • Implement logging for HTTP client operations to capture response metadata including encoding information
  • Use dependency scanning tools to continuously monitor for vulnerable urllib3 installations across your environment

How to Mitigate CVE-2025-66418

Immediate Actions Required

  • Upgrade urllib3 to version 2.6.0 or later immediately
  • Audit all Python applications and dependencies for urllib3 usage
  • Review and update requirements files, Pipfile, pyproject.toml, or other dependency manifests
  • Rebuild container images and deployment artifacts that include urllib3

Patch Information

The vulnerability has been fixed in urllib3 version 2.6.0. The fix introduces a limit on the number of decompression steps that can be chained together, preventing resource exhaustion attacks. The patch is available via the standard Python package managers.

For detailed information about the fix, refer to the GitHub Security Advisory GHSA-gm62-xv2j-4w53 and the GitHub Commit 24d7b67.

Workarounds

  • Restrict outbound HTTP connections to trusted servers only where possible
  • Implement network-level controls to filter responses with excessive compression headers
  • Consider using a web application firewall (WAF) or proxy to inspect and limit HTTP response encoding chains
  • If upgrading is not immediately possible, implement application-level timeouts and resource limits for HTTP operations
bash
# Upgrade urllib3 to the patched version
pip install --upgrade "urllib3>=2.6.0"

# Verify the installed version
pip show urllib3 | grep Version

# For requirements.txt, update the dependency
# urllib3>=2.6.0

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechUrllib3

  • SeverityHIGH

  • CVSS Score8.9

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H/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:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-770
  • Vendor Resources
  • GitHub Commit 24d7b67

  • GitHub Security Advisory GHSA-gm62-xv2j-4w53
  • Related CVEs
  • CVE-2026-21441: urllib3 Python Library DoS Vulnerability

  • CVE-2025-66471: Python Urllib3 DoS Vulnerability

  • CVE-2021-33503: Python Urllib3 DOS Vulnerability

  • CVE-2025-50182: Python Urllib3 Redirect 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