What’s Vulnerable › Vulnerabilities

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

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.

Affected products

How to fix

Upgrade to a fixed version: urllib3 2.6.0; Pypi Urllib3 2.6.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-66418 or the next vulnerability affects your stack