Improper Handling of Compressed Data in urllib3 Library by Python
CVE-2025-66471
8.9HIGH
What is CVE-2025-66471?
The urllib3 library, a popular HTTP client for Python, exhibits a vulnerability in its Streaming API that mishandles highly compressed data. This flaw affects versions ranging from 1.0 up to 2.5.0. During the processing of compressed responses, the library's logic may result in excessive resource consumption, leading to high CPU usage and substantial memory allocation required for the decompressed data. This occurs when urllib3 attempts to decode compressed data in a single operation, potentially exhausting server resources and impacting performance.
Affected Version(s)
urllib3 >= 1.0, < 2.6.0
