Skip to main content
VulnerabilityPublished Updated

CVE-2025-66471: Python pip · Starting in version 1.0 and prior to 2.6.0, the Streaming API improperly handles highly

Affects python-pipSource GCVE Database

0
Compare

Not known to be exploited · CVSS 7.5 High · fixed in 22.0.2+dfsg-1ubuntu0.7+esm3 : patch python-pip soon.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.7% chance of exploitation in 30 days – higher than 55% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 22.0.2+dfsg-1ubuntu0.7+esm3, 2.0.7-1ubuntu0.3, 24.0+dfsg-1ubuntu1.3+esm3 +3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 5 Dec 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Ubuntu 26.10python-pippkg:deb/ubuntu/python-pip?arch=source&distro=stonkingOther threatsAffected
  • =25.1.1+dfsg-1ubuntu2
  • =26.1.2+dfsg-1
Fixed in–
Ubuntu 26.04 LTSpython-urllib3pkg:deb/ubuntu/python-urllib3?arch=source&distro=resoluteOther threatsAffected
  • <2.5.0-1ubuntu1
Fixed in
  • 2.5.0-1ubuntu1
Ubuntu Pro 26.04 LTSpython-pippkg:deb/ubuntu/python-pip?arch=source&distro=esm-apps/resoluteOther threatsAffected
  • <25.1.1+dfsg-1ubuntu2+esm3
Fixed in
  • 25.1.1+dfsg-1ubuntu2+esm3
Ubuntu 25.10python-pippkg:deb/ubuntu/python-pip?arch=source&distro=questingOther threatsAffected
  • 25.0+dfsg-1 – 25.1.1+dfsg-1ubuntu2
4 affected builds
Fixed in–
Ubuntu 25.10python-urllib3pkg:deb/ubuntu/python-urllib3?arch=source&distro=questingOther threatsAffected
  • <2.3.0-3ubuntu0.1
Fixed in
  • 2.3.0-3ubuntu0.1
Ubuntu 24.04 LTSpython-urllib3pkg:deb/ubuntu/python-urllib3?arch=source&distro=nobleOther threatsAffected
  • <2.0.7-1ubuntu0.3
Fixed in
  • 2.0.7-1ubuntu0.3

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…