# CVE-2025-66471: urllib3 Streaming API improperly handles highly compressed data

- Severity: High 8.9 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.73%, higher than 55% of CVEs (2026-12-01)
- Published: 2025-12-05T16:06:08.531Z
- Modified: 2026-09-25T23:10:00.463Z
- Also known as: GHSA-2xpw-w6gg-jr37, PYSEC-2026-1994
- Weaknesses: CWE-409
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- urllib3 urllib3: >= 1.0, < 2.6.0
- urllib3 (PyPI): from 1.0 before 2.6.0
- python urllib3: from 1.0 before 2.6.0

## Every score

- GitHub_M: CVSS:4.0 8.9 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`
- GitHub: CVSS:4.0 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`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- PyPA Advisory Database: CVSS:4.0 `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`

## References

- <https://github.com/urllib3/urllib3/security/advisories/GHSA-2xpw-w6gg-jr37> (vendor-advisory, web)
- <https://github.com/urllib3/urllib3/commit/c19571de34c47de3a766541b041637ba5f716ed7> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-66471> (advisory)
- <https://github.com/urllib3/urllib3/commit/d0fde3672e4a4093f7587858dccfc298eb66e46c> (web)
- <https://github.com/advisories/GHSA-2xpw-w6gg-jr37> (advisory)
- <https://github.com/pypa/advisory-database/tree/main/vulns/urllib3/PYSEC-2026-1994.yaml> (web)
- <https://github.com/urllib3/urllib3> (package)
- <https://pypi.org/project/urllib3> (package, web)

## Sources

- CVE List: [CVE-2025-66471](https://www.cve.org/CVERecord?id=CVE-2025-66471), CVE Terms of Use, modified 2025-12-05
- GitHub Advisory Database: [GHSA-2xpw-w6gg-jr37](https://github.com/advisories/GHSA-2xpw-w6gg-jr37), CC-BY-4.0, modified 2026-09-25
- NVD: [CVE-2025-66471](https://nvd.nist.gov/vuln/detail/CVE-2025-66471), Public domain, modified 2026-09-25
- PyPA Advisory Database: [PYSEC-2026-1994](https://osv.dev/vulnerability/PYSEC-2026-1994), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2025-66471 · Whole record: https://cve.day/CVE-2025-66471.json · Rebuilt by cve.day 2026-11-25T22:59:08.339Z
