urllib3 allows an unbounded number of links in the decompression chain
CVE-2025-66418
8.9HIGH
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
