CVE-2025-66418CWE-770denial-of-service

CVE-2025-66418

High · published December 5, 2025

CVSS v3.1
7.5
EPSS
1%
Percentile
52.0
In the wild
Unconfirmed
What it is

⚡ This sneaky flaw in urllib3 allows a crafty server to send you a never-ending compression chain—think of it as an onion that just keeps adding layers! 🧅 Imagine a mailroom that keeps receiving parcels, but each parcel contains instructions for sending even more parcels—before you know it, the whole place is overflowing! That’s what happens with the unbounded decompression chain; it leads to high CPU usage and massive memory allocation that could freeze your application. An attacker can overwhelm your application by exploiting this vulnerability, leading to potential denial of service due to excessive resource consumption. This means your server could slow to a crawl or even crash under the weight of endless compressed data, leaving your users hanging!

Put simply

Imagine a mailroom that keeps receiving parcels, but each parcel contains instructions for sending even more parcels—before you know it, the whole place is overflowing! That’s what happens with the unbounded decompression chain; it leads to high CPU usage and massive memory allocation that could freeze your application. This vulnerability allows a malicious server to exploit urllib3 by sending a limitless number of compression steps, which leads to catastrophic CPU and memory strain on the client. Affected versions include 1.24 through 2.6.0, which are susceptible to this issue.

What to do

An attacker can overwhelm your application by exploiting this vulnerability, leading to potential denial of service due to excessive resource consumption. This means your server could slow to a crawl or even crash under the weight of endless compressed data, leaving your users hanging! Upgrade urllib3 to version 2.6.0 immediately to patch this vulnerability. Also, consider implementing resource limits to mitigate potential abuse in the future. Don't let your application fall victim to this sneaky issue! You've got this! By following these steps, you're on your way to securing your application like a pro! 🛡️

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00682 · 52.0th percentile
Weakness
CWE-770 · Allocation of Resources Without Limits or Throttling
Published
2025-12-05T21:15Z
Affected products (1)
ProductVersionsFixed in
python/urllib3≥ 1.24, < 2.6.02.6.0
References (2)
EPSS history
Timeline
  • 05 DEC 16:02Z
    urllib3 allows an unbounded number of links in the decompression chain
    cvelistv5