{"id":"CVE-2026-97689","published":"2026-09-29T15:36:05Z","modified":"2026-09-29T16:23:23Z","title":"urllib3: HTTPResponse.stream()/read_chunked() buffers an unbounded chunk-size line into memory","vendor":"urllib3","product":"urllib3","tier":"tail","description":{"text":"urllib3 is an HTTP client library for Python. From 1.10.3 until 2.8.0, the HTTPResponse.read_chunked and HTTPResponse.stream methods can allocate unbounded memory because the streaming chunk parser buffers the chunk-size field until newline or EOF without a length bound. The trigger is that a malicious server returns Transfer-Encoding: chunked followed by a very long run of bytes without a newline. The attack mechanism is that a malicious HTTP server sends a very long unterminated chunk-size line. The impact is that unbounded memory allocation can exhaust the client process. This issue is fixed in version 2.8.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.0044,"percentile":0.39037,"provenance":"source"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-vxq7-64xx-v4gw","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/urllib3/urllib3/commit/cd770b059b543be29298ea5c52afb0b1b090f5ed","tags":["x_refsource_MISC"]},{"url":"https://github.com/urllib3/urllib3/releases/tag/2.8.0","tags":["x_refsource_MISC"]}],"priority":{"score":14.0,"factors":[{"name":"EPSS percentile","points":7.81},{"name":"CVSS severity","points":6.23}]},"vendorSlug":"urllib3","affectedVersions":[{"vendor":"urllib3","product":"urllib3","versions":[">= 1.10.3, < 2.8.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-29T16:21:49.840583Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"urllib3","vulnerableRanges":[">=1.10.3, <2.8.0"],"patched":["2.8.0"],"from":["GHSA-vxq7-64xx-v4gw","PYSEC-2026-4177"],"provenance":"source"}],"summary":{"text":"urllib3's HTTPResponse.read_chunked() and HTTPResponse.stream() methods buffer a chunk-size line without any length bound, affecting versions from 1.10.3 through 2.8.0 of the Python HTTP client library. A malicious HTTP server that sends a Transfer-Encoding: chunked response with a very long run of bytes containing no newline can cause unbounded memory allocation and exhaust the memory of the client process, requiring only network access to a server the client connects to and no authentication or user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:49:52Z"},"euvd":{"id":"EUVD-2026-89017","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-urllib3-cve-2025-66471","parents":[{"from":"CVE-2025-66471","to":"CVE-2026-97689","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/urllib3/response.py"],"commits":["https://github.com/urllib3/urllib3/commit/c19571de34c47de3a766541b041637ba5f716ed7","https://github.com/urllib3/urllib3/commit/d0fde3672e4a4093f7587858dccfc298eb66e46c","https://github.com/urllib3/urllib3/commit/cd770b059b543be29298ea5c52afb0b1b090f5ed"],"basis":"shared function","functions":["read_chunked"]}]}],"packageHistory":[{"cve":"CVE-2026-44432","published":"2026-05-13","fixed":"2.7.0","kev":false,"link":{"from":"CVE-2026-44432","to":"CVE-2026-97689","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:urllib3","fromFixed":"2.7.0","toFixed":"2.8.0","daysApart":139}]}},{"cve":"CVE-2026-97687","published":"2026-09-29","fixed":"2.8.0","kev":false},{"cve":"CVE-2026-97688","published":"2026-09-29","fixed":"2.8.0","kev":false},{"cve":"CVE-2026-97689","published":"2026-09-29","fixed":"2.8.0","kev":false}],"package":"PyPI:urllib3"}}