CVE-2025-66471 in Python Urllib3
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 r...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Python | Urllib3 | ≥ 1.0, < 2.6.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-66471 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-028816-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Published | 2025-12-05 |
| Last modified | 2025-12-10 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-409: CWE-409
Analysis AI-written, not human-reviewed
CVE-2025-66471 affects urllib3 versions 1.0 to 2.5.9, where the Streaming API improperly handles highly compressed data, potentially leading to resource exhaustion or denial of service.
An attacker can exploit this vulnerability by sending a highly compressed HTTP response to a server using urllib3's Streaming API. This can cause the server to consume excessive memory or CPU resources, leading to a denial of service.
Questions
What is CVE-2025-66471?
CVE-2025-66471 affects urllib3 versions 1.0 to 2.5.9, where the Streaming API improperly handles highly compressed data, potentially leading to resource exhaustion or denial of service.
What is the CVSS score for CVE-2025-66471?
CVE-2025-66471 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. EPSS: 0.8%.
Is CVE-2025-66471 actively exploited?
No confirmed active exploitation of CVE-2025-66471 as of 2026-05-30.
How do I remediate CVE-2025-66471?
Priority: HIGH. PSIRT: [email protected]
What systems are affected by CVE-2025-66471?
CVE-2025-66471 affects Python Urllib3.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Python","product":"Urllib3","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2025-12-10.