Skip to main content
VulnerabilityPublished

CVE-2025-66418: urllib3 allows an unbounded number of links in the decompression chain

Affects urllib3Source GCVE Database

0
Compare
Authoritative record:CVE-2025-66418· High 8.9

Not known to be exploited · CVSS 8.9 High : upgrade to 2.6.0 soon.

Data as of 25 Nov 2026, 03:58 UTC

CVSS 4.0 base score
8.9High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 4.08.9
Patch
Available – fixed in 2.6.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

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 urllib3 to 2.6.0.

Affected software

ProductAffectedFixed in
PyPIurllib3Affected
  • >=1.24 <2.6.0
Fixed in
  • 2.6.0

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

AI-suggested

Upgrade urllib3 to version 2.6.0 or later, which enforces a maximum of 5 chained content encodings during decompression. If upgrading immediately is not possible, disable automatic content decoding by setting 'preload_content=False' and manually verify that the 'content-encoding' header contains a safe number of encodings before reading the response content.

Description

urllib3 versions 1.24 up to but not including 2.6.0 allow an unbounded number of chained HTTP content encodings in response decompression. This can be exploited by a malicious server to cause excessive CPU and memory usage by inserting many compression steps. The issue is fixed in urllib3 version 2.6.0, which limits the decompression chain length to 5.

References

Community reviews

Loading reviews…