CVE-2025-66418
HIGH 8.9CVSS 4.0urllib3 allows an unbounded number of links in the decompression chain
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.
- Published
- 5 Dec 2025
- Last modified
- 10 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-770
- Also known as
- GHSA-gm62-xv2j-4w53PYSEC-2026-1998
- Sources
- NVDJSONOSV GHSA-gm62-xv2j-4w53JSONOSV PYSEC-2026-1998JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 8.9 | 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 |
| OSV | GitHub | CVSS 4.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 | |
| OSV | PyPA | CVSS 4.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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | python | urllib3cpe:2.3:a:python:urllib3:*:*:*:*:*:*:*:* |
>= 1.24, < 2.6.0 | 2.6.0 |
| OSV | PyPI | urllib3 | >= 1.24, < 2.6.0 | 2.6.0 |
References
- https://github.com/urllib3/urllib3/commit/24d7b67eac89f94e11003424bcf0d8f7b72222a8 · Patch, WEB, FIX
- https://github.com/urllib3/urllib3/security/advisories/GHSA-gm62-xv2j-4w53 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-66418 · ADVISORY
- https://github.com/urllib3/urllib3 · PACKAGE
- https://pypi.org/project/urllib3 · PACKAGE
- https://github.com/advisories/GHSA-gm62-xv2j-4w53 · ADVISORY
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 5 Dec 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 5 Dec 2025)