CVE-2025-66418 Details
Description
urllib3 is a user-friendly HTTP client library for Python. Starting in version 1.24 and prior to 2.6.0, the number of links in the decompression chain was unbounded allowing a malicious server to insert a virtually unlimited number of compression steps leading to high CPU usage and massive memory allocation for the decompressed data. This vulnerability is fixed in 2.6.0.
A denial-of-service vulnerability has been identified in urllib3, a popular HTTP client library for Python. This issue affects versions 1.24 through 2.5.0. The vulnerability arises from an unbounded number of links in the decompression chain, allowing a malicious server to introduce a virtually unlimited number of compression steps. This could lead to excessive CPU usage and significant memory allocation for the decompressed data. The vulnerability is present in applications and libraries that use urllib3 for HTTP requests to untrusted sources, unless content decoding is explicitly disabled.
Users are advised to upgrade to urllib3 version 2.6.0 or later, where this vulnerability has been addressed by limiting the number of allowed chained encodings to five. If an immediate upgrade is not possible, content can be streamed without preloading by setting 'preload_content=False' and checking that the 'content-encoding' header does not contain too many encodings before reading the response.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Nov 10, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-770 | Allocation of Resources Without Limits or Throttling | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| python urllib3 | >= 1.24, < 2.6.0 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 10, 2026 | CVE Modified | [email protected] |
| Nov 10, 2026 | CVE Modified | CISA-ADP |
| Sep 25, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Dec 10, 2025 | Initial Analysis | [email protected] |
| Dec 5, 2025 | New CVE Received | [email protected] |