CVE-2025-66471urllib3 streaming API improperly handles highly compressed data
A high-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 0.8% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 0.8%
- percentile 52%
- Fix
- Named by a source
- CVE published 5 Dec 2025
Reference
None of the "Needs attention" rules apply right now.
EPSS 0.8% (+1) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)
Immediate actions
- urllib3 (PyPI): upgrade to 2.6.0 or later on your release line.
- Patch: https://github.com/urllib3/urllib3/commit/c19571de34c47de3a766541b041637ba5f716ed7
- Commit / pull request: https://github.com/urllib3/urllib3/commit/d0fde3672e4a4093f7587858dccfc298eb66e46c
- Advisory: https://github.com/urllib3/urllib3/security/advisories/GHSA-2xpw-w6gg-jr37
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2025-66471
- Advisory: https://github.com/advisories/GHSA-2xpw-w6gg-jr37
Who should check
urllib3 (PyPI) pkg:pypi/urllib3
- Affected>= 1.0, < 2.6.0Fixed in2.6.0OSV (PYSEC-2026-1994)
python urllib3 product:python/urllib3
- Affected>= 1.0, < 2.6.0Affected range ends before2.6.0as published by CPE data (via the NVD API)
urllib3 urllib3 product:urllib3/urllib3
- Affected>= 1.0, < 2.6.0Affected range ends before2.6.0as published by CNA (CVE List)
Products (not packages) are shown as their sources publish them. We check no product version against these ranges; a fixed version is the one the source names. Ask the vendor's advisory.
Confirmed facts
- CVSS
- 7.5 HIGH (version 3.1)
- Score from
- NVD
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Weakness
- CWE-409
- Exploitation (CISA SSVC)
- none
- Automatable (CISA SSVC)
- no
- Assigned by
- [email protected]
Unknowns
- We show one CVSS score. Other sources may score this CVE differently.
Advisory text
Quoted from the source advisory (untrusted)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.
Update history
- 5 Dec 2025Published
References
- patchhttps://github.com/urllib3/urllib3/commit/c19571de34c47de3a766541b041637ba5f716ed7
- advisoryhttps://github.com/urllib3/urllib3/security/advisories/GHSA-2xpw-w6gg-jr37
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2025-66471
- commit / pull requesthttps://github.com/urllib3/urllib3/commit/d0fde3672e4a4093f7587858dccfc298eb66e46c
- advisoryhttps://github.com/advisories/GHSA-2xpw-w6gg-jr37
- otherhttps://github.com/pypa/advisory-database/tree/main/vulns/urllib3/PYSEC-2026-1994.yaml
- otherhttps://github.com/urllib3/urllib3
- otherhttps://pypi.org/project/urllib3
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- CVE-2025-66471 (CVE List (CNA and CISA ADP data, through the NVD API)), CVE terms of use. Copyright The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation.
- NVD API 2.0 (NIST), the API we query, NVD API terms of use. This product uses the NVD API but is not endorsed or certified by the NVD.
- GHSA-2xpw-w6gg-jr37 (GitHub Advisory Database), CC BY 4.0.
- PYSEC-2026-1994 (PyPA Advisory Database), CC BY 4.0.
- OSV.dev, Per database.
This page is our own presentation: records are shortened, normalised and merged. Licences
Last checked: kev 50 min ago · osv 50 min ago · nvd 19 min ago · epss 50 min ago · JSON · ask via MCP: explain_vulnerability
Also known as GHSA-2xpw-w6gg-jr37, PYSEC-2026-1994