CVE-2025-66471
CVE-2025-66471 is a high-severity vulnerability in Python Urllib3 with a CVSS 3.x base score of 7.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-409.
Key facts
- Severity: High (CVSS 3.x base score 7.5)
- CVSS v4: 8.9
- EPSS exploit prediction: 1% (46th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-201419
- Weakness: CWE-409
- Affected product: Python Urllib3
- Published:
- Last modified:
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.
Frequently asked questions
- What is 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.
- How severe is CVE-2025-66471?
- CVE-2025-66471 has a CVSS 3.x base score of 7.5, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability high.
- Is CVE-2025-66471 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (46th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2025-66471?
- CVE-2025-66471 affects Python Urllib3. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2025-66471?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2025-66471 have an EU (EUVD) identifier?
- Yes. CVE-2025-66471 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-201419.
- When was CVE-2025-66471 published?
- CVE-2025-66471 was published on 2025-12-05 and last updated on 2026-06-17.
References
- https://github.com/urllib3/urllib3/commit/c19571de34c47de3a766541b041637ba5f716ed7
- https://github.com/urllib3/urllib3/security/advisories/GHSA-2xpw-w6gg-jr37
Affected products (1)
- cpe:2.3:a:python:urllib3:*:*:*:*:*:*:*:*
More vulnerabilities in Python Urllib3
- CVE-2018-20060 — Critical (CVSS 9.8): urllib3 before version 1.23 does not remove the Authorization HTTP header when following a cross-origin redirect (i.e.,…
- CVE-2026-44432 — High (CVSS 7.5): urllib3 is an HTTP client library for Python. From 2.6.0 to before 2.7.0, urllib3 could decompress the whole response…
- CVE-2026-21441 — High (CVSS 7.5): urllib3 is an HTTP client library for Python. urllib3's streaming API is designed for the efficient handling of large…
- CVE-2025-66418 — High (CVSS 7.5): urllib3 is a user-friendly HTTP client library for Python. Starting in version 1.24 and prior to 2.6.0, the number of…
- CVE-2021-33503 — High (CVSS 7.5): An issue was discovered in urllib3 before 1.26.5. When provided with a URL containing many @ characters in the…
- CVE-2020-7212 — High (CVSS 7.5): The _encode_invalid_chars function in util/url.py in the urllib3 library 1.25.2 through 1.25.7 for Python allows a…
All CVEs affecting Python Urllib3 →
Other CWE-409 vulnerabilities
- CVE-2026-53430 — High (CVSS 8.7): Improper Handling of Highly Compressed Data (Data Amplification) vulnerability in elixir-grpc grpc…
- CVE-2026-44697 — High (CVSS 8.6): Klever-Go is the Go implementation of the Klever blockchain protocol. Prior to 1.7.17, a remote, unauthenticated…
- CVE-2026-49755 — High (CVSS 8.2): Improper Handling of Highly Compressed Data (Data Amplification) vulnerability in wojtekmach Req allows…
- CVE-2026-48594 — High (CVSS 8.2): Improper Handling of Highly Compressed Data (Data Amplification) vulnerability in elixir-tesla tesla allows a denial of…
- CVE-2026-43970 — High (CVSS 8.2): Improper Handling of Highly Compressed Data (Data Amplification) vulnerability in ninenines cowlib allows…
- CVE-2026-24264 — High (CVSS 7.5): NVIDIA Triton Inference Server for Linux contains a vulnerability where an attacker can cause improper handling of…