urllib3 allows an unbounded number of links in the decompression chain
CVE-2025-66418

8.9HIGH

Key Information:

Vendor

Urllib3

Status
Vendor
CVE Published:
5 December 2025

What is CVE-2025-66418?

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.

Affected Version(s)

urllib3 >= 1.24, < 2.6.0

References

CVSS V4

Score:
8.9
Severity:
HIGH
Confidentiality:
None
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.
CVE-2025-66418 : Unbounded Decompression Chain in urllib3 HTTP Client Library by Python