cve.bz

CVE-2025-66418 python urllib3

8.9 highEPSS 0.7%Fix available

High (8.9) in python urllib3. EPSS 0.7% estimated probability of exploitation activity in the next 30 days. Fixed in urllib3 2.6.0.

On this page
urllib3 is a user-friendly HTTP client library for Python. Starting in version 1.24 and prior to 2.6.0, the number of links in the decompression chain was unbounded allowing a malicious server to insert a virtually unlimited number of compression steps leading to high CPU usage and massive memory allocation for the decompressed data. This vulnerability is fixed in 2.6.0.

Severity

CVSS 4.0

8.9 high
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

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.7% (unchanged from 0.7% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 55th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-11-10. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-770 Allocation of Resources Without Limits or Throttling
Published
Modified
Assigned by
GitHub_M (CNA)
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-66418 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-66418?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-66418?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-66418 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
python:urllib3from 1.24 before 2.6.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-gm62-xv2j-4w53PyPIurllib3>=1.24 <2.6.02.6.0
PYSEC-2026-1998PyPIurllib3>=1.24 <2.6.02.6.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11python-urllib31.26.5-1~exp1+deb11u2DLA-4421-1
Debian12python-urllib31.26.12-1+deb12u2DEBIAN-CVE-2025-66418 DSA-6102-1
Debian13python-urllib32.3.0-3+deb13u1DEBIAN-CVE-2025-66418 DSA-6102-1
Debian14python-urllib32.5.0-1.1DEBIAN-CVE-2025-66418
Ubuntu22.04:LTSpython-urllib31.26.5-1~exp1ubuntu0.4UBUNTU-CVE-2025-66418 USN-7927-1
Ubuntu24.04:LTSpython-urllib32.0.7-1ubuntu0.3UBUNTU-CVE-2025-66418 USN-7927-1
Ubuntu25.10python-urllib32.3.0-3ubuntu0.1UBUNTU-CVE-2025-66418 USN-7927-1
Ubuntu25.10, 26.10python-pipno fix listedUBUNTU-CVE-2025-66418
Ubuntu26.04:LTSpython-urllib32.5.0-1ubuntu1UBUNTU-CVE-2025-66418
UbuntuPro:20.04:LTSpython-urllib31.25.8-2ubuntu0.4+esm2UBUNTU-CVE-2025-66418 USN-7927-1
UbuntuPro:22.04:LTSpython-pip22.0.2+dfsg-1ubuntu0.7+esm1UBUNTU-CVE-2025-66418
UbuntuPro:24.04:LTSpython-pip24.0+dfsg-1ubuntu1.3+esm1UBUNTU-CVE-2025-66418
Red Hatenterprise_linux:7::serverpython-s3transfer0:0.1.13-1.el7_9.3RHSA-2026:1337
Red Hatenterprise_linux:7::serverresource-agents, resource-agents-gcp, resource-agents-aliyun and 1 more0:4.1.1-61.el7_9.21RHSA-2026:1336
Red Hatrhel_aus:8.4::appstreamfence-agents, fence-agents-all, fence-agents-apc and 44 more0:4.2.1-65.el8_4.24RHSA-2026:2279
Red Hatrhel_aus:8.4::highavailability, rhel_eus_long_life:8.4::highavailabilityfence-agents-aws, fence-agents-gce, fence-agents-aliyun and 6 more0:4.2.1-65.el8_4.24RHSA-2026:2279
Red Hatrhel_aus:8.4::highavailability, rhel_eus_long_life:8.4::highavailabilityresource-agents, resource-agents-gcp, resource-agents-aliyun and 3 more0:4.1.1-90.el8_4.21RHSA-2026:1338
Red Hatrhel_aus:8.6::appstream, rhel_tus:8.6::appstreamfence-agents, fence-agents-all, fence-agents-apc and 45 more0:4.2.1-89.el8_6.19RHSA-2026:1702
Red Hatrhel_e4s:8.6::appstreamfence-agents, fence-agents-all, fence-agents-apc and 46 more0:4.2.1-89.el8_6.19RHSA-2026:1702
Red Hatrhel_e4s:8.6::highavailability, rhel_tus:8.6::highavailabilityfence-agents-aws, fence-agents-gce, fence-agents-aliyun and 6 more0:4.2.1-89.el8_6.19RHSA-2026:1702
Red Hatrhel_e4s:8.6::highavailability, rhel_tus:8.6::highavailabilityresource-agents, resource-agents-gcp, resource-agents-paf and 4 more0:4.9.0-16.el8_6.18RHSA-2026:1340
Red Hatrhel_e4s:8.8::appstreamfence-agents, fence-agents-all, fence-agents-apc and 45 more0:4.2.1-112.el8_8.14RHSA-2026:1701
Red Hatrhel_e4s:8.8::highavailability, rhel_tus:8.8::highavailabilityfence-agents-aws, fence-agents-gce, fence-agents-aliyun and 7 more0:4.2.1-112.el8_8.14RHSA-2026:1701
Red Hatrhel_e4s:8.8::highavailability, rhel_tus:8.8::highavailabilityresource-agents, resource-agents-gcp, resource-agents-paf and 4 more0:4.9.0-40.el8_8.14RHSA-2026:1339
16 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 7 morepython-urllib32.0.7-150400.7.27.1SUSE-SU-2026:0367-2
SUSELinux Enterprise Micro 5.2, Linux Enterprise Micro 5.3, Linux Enterprise Micro 5.4 and 2 morepython-urllib31.25.10-150300.4.21.1SUSE-SU-2026:0443-1
SUSELinux Enterprise Module for Public Cloud 12, Linux Enterprise Server LTSS Extended Security 12 SP5python-urllib31.25.10-3.48.4SUSE-SU-2026:1412-1
SUSELinux Enterprise Module for Public Cloud 15 SP4, Linux Enterprise Module for Python 3 15 SP7python-urllib32.0.7-150400.7.27.1SUSE-SU-2026:0367-1
SUSELinux Enterprise Module for Python 3 15 SP7python-urllib3_11.26.18-150600.3.6.1SUSE-SU-2026:0635-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0python-urllib32.5.0-160000.4.1SUSE-SU-2026:20189-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0python-urllib3_11.26.20-160000.3.1SUSE-SU-2026:20591-1
SUSELinux Micro 6.0python-urllib32.1.0-5.1SUSE-SU-2026:20443-1
SUSELinux Micro 6.1python-urllib32.1.0-slfo.1.1_4.1SUSE-SU-2026:20485-1
SUSELinux Micro 6.2python-urllib32.5.0-160000.4.1SUSE-SU-2026:20175-1
openSUSELeap 15.6python-urllib32.0.7-150400.7.27.1SUSE-SU-2026:0367-1
openSUSELeap 15.6python-urllib3_11.26.18-150600.3.6.1SUSE-SU-2026:0635-1
openSUSELeap 16.0python-urllib32.5.0-160000.4.1openSUSE-SU-2026:20127-1
openSUSELeap 16.0python-urllib3_11.26.20-160000.3.1openSUSE-SU-2026:20271-1
openSUSETumbleweedoci-cli3.76.2-1.1openSUSE-SU-2026:10539-1
openSUSETumbleweedpython-oci-sdk2.168.3-1.1openSUSE-SU-2026:10431-1
openSUSETumbleweedpython-urllib32.6.2-1.1openSUSE-SU-2026:10026-1
openSUSETumbleweedpython-urllib3_11.26.20-5.1openSUSE-SU-2026:10096-1
AlmaLinux8fence-agents-all, fence-agents-apc, fence-agents-aws and 45 more4.2.1-129.el8_10.20ALSA-2026:1240
AlmaLinux8python3-urllib31.24.2-9.el8_10ALSA-2026:1254
AlmaLinux8python3.11-urllib31.26.12-6.el8_10ALSA-2026:1224
AlmaLinux8python3.12-urllib31.26.19-2.el8_10ALSA-2026:1226
AlmaLinux8resource-agents, resource-agents-gcp, resource-agents-paf and 1 more4.9.0-54.el8_10.27ALSA-2026:1241
AlmaLinux9fence-virt, fence-virtd, fence-virtd-cpg and 53 more4.10.0-98.el9_7.4ALSA-2026:1239
AlmaLinux9python3-urllib31.26.5-6.el9_7.1ALSA-2026:1087
AlmaLinux9python3.11-urllib31.26.12-5.el9_7.1ALSA-2026:1089
AlmaLinux9python3.12-urllib31.26.19-1.el9_7.1ALSA-2026:1088
AlmaLinux10python3-urllib31.26.19-2.el10_1.1ALSA-2026:1086
Rocky Linux8fence-agents0:4.2.1-129.el8_10.20RLSA-2026:1240
Rocky Linux8python-urllib30:1.24.2-9.el8_10RLSA-2026:1254
Rocky Linux8python3.11-urllib30:1.26.12-6.el8_10RLSA-2026:1224
Rocky Linux8python3.12-urllib30:1.26.19-2.el8_10RLSA-2026:1226
Rocky Linux8resource-agents0:4.9.0-54.el8_10.27RLSA-2026:1241
Rocky Linux9fence-agents0:4.10.0-98.el9_7.4RLSA-2026:1239
Rocky Linux9python-urllib30:1.26.5-6.el9_7.1RLSA-2026:1087
Rocky Linux9python3.11-urllib30:1.26.12-5.el9_7.1RLSA-2026:1089
Rocky Linux9python3.12-urllib30:1.26.19-1.el9_7.1RLSA-2026:1088
Rocky Linux10python-urllib30:1.26.19-2.el10_1.1RLSA-2026:1086
Alpinev3.23py3-urllib32.6.3-r0ALPINE-CVE-2025-66418
Azure Linux2python-urllib31.26.19-3AZL-71846
Azure Linux3python-urllib32.0.7-3AZL-71834
Alpaquita23py3-pip22.3.1-r5BELL-CVE-2025-66418
Alpaquita23py3-urllib31.26.18-r1BELL-CVE-2025-66418
Alpaquita25py3-pip25.1.1-r2BELL-CVE-2025-66418
Alpaquita25py3-urllib31.26.20-r1BELL-CVE-2025-66418
Alpaquitastreampy3-urllib32.6.0-r0BELL-CVE-2025-66418
BellSoft Hardened Containers23py3-pip22.3.1-r5BELL-CVE-2025-66418
BellSoft Hardened Containers25py3-pip25.1.1-r2BELL-CVE-2025-66418

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This Important impact denial of service vulnerability in the urllib3 HTTP client library allows uncontrolled memory consumption when decompressing highly compressed HTTP responses. Due to the lack of an overall decompression size limit in the Streaming API, a malicious server can exhaust client memory, leading to a denial of service.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10python-urllib3-0:1.26.19-2.el10_1.1Fixed 2026-01-26RHSA-2026:1086
Red Hat Enterprise Linux 10.0 Extended Update Supportpython-urllib3-0:1.26.19-2.el10_0.1Fixed 2026-02-02RHSA-2026:1726
Red Hat Enterprise Linux 7 Extended Lifecycle Supportresource-agents-0:4.1.1-61.el7_9.21Fixed 2026-01-27RHSA-2026:1336
Red Hat Enterprise Linux 7 Extended Lifecycle Supportpython-s3transfer-0:0.1.13-1.el7_9.3Fixed 2026-01-27RHSA-2026:1337
Red Hat Enterprise Linux 8python3.11-urllib3-0:1.26.12-6.el8_10Fixed 2026-01-26RHSA-2026:1224
Red Hat Enterprise Linux 8python3.12-urllib3-0:1.26.19-2.el8_10Fixed 2026-01-26RHSA-2026:1226
Red Hat Enterprise Linux 8fence-agents-0:4.2.1-129.el8_10.20Fixed 2026-01-26RHSA-2026:1240
Red Hat Enterprise Linux 8resource-agents-0:4.9.0-54.el8_10.27Fixed 2026-01-26RHSA-2026:1241
Red Hat Enterprise Linux 8python-urllib3-0:1.24.2-9.el8_10Fixed 2026-01-26RHSA-2026:1254
Red Hat Enterprise Linux 8.2 Advanced Update Supportpython-urllib3-0:1.24.2-4.el8_2.1Fixed 2026-02-16RHSA-2026:2728
Assisted Installer for Red Hat OpenShift Container Platform 2assisted/agent-preinstall-image-builder-rhel9Not affected
Assisted Installer for Red Hat OpenShift Container Platform 2rhai/assisted-installer-agent-rhel9Will not fix
Assisted Installer for Red Hat OpenShift Container Platform 2rhai/assisted-installer-controller-rhel9Will not fix
Assisted Installer for Red Hat OpenShift Container Platform 2rhai/assisted-installer-rhel9Not affected
cert-manager Operator for Red Hat OpenShiftcert-manager/cert-manager-istio-csr-rhel9Affected
Confidential Compute Attestationbuild-of-trustee/trustee-rhel9Affected
Confidential Compute Attestationconfidential-compute-attestation-tech-preview/trustee-rhel9Affected
Confidential Compute Attestationopenshift-sandboxed-containers/osc-cloud-api-adaptor-rhel9Not affected
Confidential Compute Attestationopenshift-sandboxed-containers/osc-monitor-rhel9Not affected
Confidential Compute Attestationopenshift-sandboxed-containers/osc-podvm-builder-rhel9Not affected
725 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-66418.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-770 (20).

References

Check your stackJSON