8.9
/ 10
HIGH
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H
Description
urllib3 is a user-friendly HTTP client library for Python. Starting in version 1.0 and prior to 2.6.0, the Streaming API improperly handles highly compressed data. urllib3's streaming API is designed for the efficient handling of large HTTP responses by reading the content in chunks, rather than loading the entire response body into memory at once. When streaming a compressed response, urllib3 can perform decoding or decompression based on the HTTP Content-Encoding header (e.g., gzip, deflate, br, or zstd). The library must read compressed data from the network and decompress it until the requested chunk size is met. Any resulting decompressed data that exceeds the requested amount is held in an internal buffer for the next read operation. The decompression logic could cause urllib3 to fully decode a small amount of highly compressed data in a single operation. This can result in excessive resource consumption (high CPU usage and massive memory allocation for the decompressed data.
AI Analysis
The urllib3 library's Streaming API improperly handles highly compressed data, leading to excessive resource consumption.
Basic Information
ID
CVE-2025-66471
Source
GitHub_M
Published
Dec 5, 2025 at 16:06
Modified
Dec 5, 2025 at 19:33
Affected Product
Vendor
urllib3
Product
urllib3
Version
>= 1.0, < 2.6.0
Affected Versions
urllib3 urllib3 >= 1.0, < 2.6.0
CWE Classification
AI Assessment
AI Score
8.9 / 10
AI Severity
High
Vendor
urllib3
Product
urllib3
Version
1.0 to 2.6.0