CVE-2025-66471

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:python:urllib3:*:*:*:*:*:*:*:*

History

10 Dec 2025, 16:10

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5
CPE cpe:2.3:a:python:urllib3:*:*:*:*:*:*:*:*
References () https://github.com/urllib3/urllib3/commit/c19571de34c47de3a766541b041637ba5f716ed7 - () https://github.com/urllib3/urllib3/commit/c19571de34c47de3a766541b041637ba5f716ed7 - Patch
References () https://github.com/urllib3/urllib3/security/advisories/GHSA-2xpw-w6gg-jr37 - () https://github.com/urllib3/urllib3/security/advisories/GHSA-2xpw-w6gg-jr37 - Vendor Advisory
First Time Python
Python urllib3

05 Dec 2025, 17:16

Type Values Removed Values Added
New CVE

Information

Published : 2025-12-05 17:16

Updated : 2025-12-10 16:10


NVD link : CVE-2025-66471

Mitre link : CVE-2025-66471

CVE.ORG link : CVE-2025-66471


JSON object : View

Products Affected

python

  • urllib3
CWE
CWE-409

Improper Handling of Highly Compressed Data (Data Amplification)