{"id":"CVE-2025-66418","published":"2025-12-05T16:02:15Z","modified":"2026-11-10T16:03:44Z","title":"urllib3 allows an unbounded number of links in the decompression chain","vendor":"urllib3","product":"urllib3","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.9,"severity":"HIGH","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00762,"percentile":0.5162,"provenance":"source"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-gm62-xv2j-4w53","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/urllib3/urllib3/commit/24d7b67eac89f94e11003424bcf0d8f7b72222a8","tags":["x_refsource_MISC"]}],"priority":{"score":16.6,"factors":[{"name":"EPSS percentile","points":10.32},{"name":"CVSS severity","points":6.23}]},"vendorSlug":"urllib3","affectedVersions":[{"vendor":"urllib3","product":"urllib3","versions":[">= 1.24, < 2.6.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-10T16:03:37.458950Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"urllib3","vulnerableRanges":[">=1.24, <2.6.0"],"patched":["2.6.0"],"from":["GHSA-gm62-xv2j-4w53","PYSEC-2026-1998"],"provenance":"source"}],"summary":{"text":"The flaw is in urllib3, the Python HTTP client library, where the decompression chain has no limit on the number of encoding links a server can specify, affecting versions from 1.24 up to but not including 2.6.0. An attacker who controls a server that a client connects to over the network, with no authentication or user interaction required, can insert a very large number of compression steps in the response, causing high CPU use and massive memory allocation during decompression.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:47:54Z"},"euvd":{"id":"EUVD-2025-201421","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2024-37891","published":"2024-06-17","fixed":"2.2.2","kev":false},{"cve":"CVE-2025-50181","published":"2025-06-19","fixed":"2.5.0","kev":false},{"cve":"CVE-2025-50182","published":"2025-06-19","fixed":"2.5.0","kev":false,"link":{"from":"CVE-2025-50182","to":"CVE-2025-66418","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:urllib3","fromFixed":"2.5.0","toFixed":"2.6.0","daysApart":169}]}},{"cve":"CVE-2025-66418","published":"2025-12-05","fixed":"2.6.0","kev":false},{"cve":"CVE-2025-66471","published":"2025-12-05","fixed":"2.6.0","kev":false},{"cve":"CVE-2026-21441","published":"2026-01-07","fixed":"2.6.3","kev":false,"link":{"from":"CVE-2025-66418","to":"CVE-2026-21441","relation":"successor","confidence":"high","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:urllib3","fromFixed":"2.6.0","toFixed":"2.6.3","daysApart":33},{"kind":"same-code","provenance":"machine","files":["src/urllib3/response.py"],"commits":["https://github.com/urllib3/urllib3/commit/24d7b67eac89f94e11003424bcf0d8f7b72222a8","https://github.com/urllib3/urllib3/commit/8864ac407bba8607950025e0979c4c69bc7abc7b"],"basis":"shared file"}]}},{"cve":"CVE-2026-44431","published":"2026-05-13","fixed":"2.7.0","kev":false}],"package":"PyPI:urllib3"}}