Live threats

All CVEs / Python

CVE-2025-66471Python Urllib3

High 8.9 No auth needed

Priority
68
CVSS 4.0
8.9
EPSS
—
Auth required
No
Published
Dec 5, 2025
Updated
Sep 25, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-409
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Urllib3.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI urllib3 ≥ 1.0 < 2.6.0 2.6.0 pip install "urllib3>=2.6.0"
PyPI urllib3 ≥ 1.0 < 2.6.0 2.6.0 pip install "urllib3>=2.6.0"

Per OSV / GitHub Advisories (GHSA-2xpw-w6gg-jr37, PYSEC-2026-1994). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
pythonurllib3≥ 1.0 < 2.6.0

Official advisories

Also: SUSE (+21), Red Hat (+44)

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.