CVE-2026-97688urllib3: Chunked Deflate streaming can enter an infinite loop
A medium-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 0.5% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 0.5%
- percentile 36%
- Fix
- Named by a source
- CVE published 29 Sept 2026
Reference
None of the "Needs attention" rules apply right now.
EPSS 0.5% (+1) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)
Immediate actions
- urllib3 (PyPI): upgrade to 2.8.0 or later on your release line.
- Patch: https://github.com/urllib3/urllib3/commit/ea2ad7b21a80da3632f80016526a18864586077f
- Mitigation: https://github.com/urllib3/urllib3/security/advisories/GHSA-gh4c-6fx4-qh6g
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2026-97688
- Advisory: https://github.com/advisories/GHSA-gh4c-6fx4-qh6g
Who should check
urllib3 (PyPI) pkg:pypi/urllib3
- Affected>= 2.6.2, < 2.8.0Fixed in2.8.0OSV (PYSEC-2026-4176)
python urllib3 product:python/urllib3
- Affected>= 2.6.2, < 2.8.0Affected range ends before2.8.0as published by CPE data (via the NVD API)
urllib3 urllib3 product:urllib3/urllib3
- Affected>= 2.6.2, < 2.8.0Affected range ends before2.8.0as published by CNA (CVE List)
Products (not packages) are shown as their sources publish them. We check no product version against these ranges; a fixed version is the one the source names. Ask the vendor's advisory.
Confirmed facts
- CVSS
- 5.3 MEDIUM (version 3.1)
- Score from
- NVD
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Weakness
- CWE-835
- Exploitation (CISA SSVC)
- none
- Automatable (CISA SSVC)
- yes
- Assigned by
- [email protected]
Unknowns
- We show one CVSS score. Other sources may score this CVE differently.
Advisory text
Quoted from the source advisory (untrusted)urllib3 is an HTTP client library for Python. From 2.6.2 until 2.8.0, HTTPResponse.stream and HTTPResponse.read_chunked can enter an infinite loop because the Deflate decoder retains trailing bytes as unconsumed input after reaching end-of-stream and repeatedly decodes them without progress. The issue occurs when an untrusted server sends a chunked Deflate response whose decoded body exceeds a positive finite chunk size and whose encoded body has trailing bytes, specifically a response with Transfer-Encoding: chunked and Content-Encoding: deflate, content decoding enabled, and the positive finite amt=N streaming chunk size. The attack mechanism is that a malicious server returns a compressed chunked response with trailing bytes after the Deflate stream. The impact is excessive CPU usage and a request that does not complete, and network read timeouts do not interrupt the loop because no further socket read occurs. This issue is fixed in version 2.8.0.
Update history
- 29 Sept 2026Published
References
- patchhttps://github.com/urllib3/urllib3/commit/ea2ad7b21a80da3632f80016526a18864586077f
- otherhttps://github.com/urllib3/urllib3/releases/tag/2.8.0
- mitigationhttps://github.com/urllib3/urllib3/security/advisories/GHSA-gh4c-6fx4-qh6g
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2026-97688
- otherhttps://github.com/urllib3/urllib3
- otherhttps://pypi.org/project/urllib3
- advisoryhttps://github.com/advisories/GHSA-gh4c-6fx4-qh6g
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- CVE-2026-97688 (CVE List (CNA and CISA ADP data, through the NVD API)), CVE terms of use. Copyright The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation.
- NVD API 2.0 (NIST), the API we query, NVD API terms of use. This product uses the NVD API but is not endorsed or certified by the NVD.
- GHSA-gh4c-6fx4-qh6g (GitHub Advisory Database), CC BY 4.0.
- PYSEC-2026-4176 (PyPA Advisory Database), CC BY 4.0.
- OSV.dev, Per database.
This page is our own presentation: records are shortened, normalised and merged. Licences
Last checked: kev 47 min ago · osv 47 min ago · nvd 47 min ago · epss 47 min ago · JSON · ask via MCP: explain_vulnerability
Also known as GHSA-gh4c-6fx4-qh6g, PYSEC-2026-4176