CVE-2026-97688: python urllib3 Infinite Loop
Vulnerability summary
CVE-2026-97688 is a medium (CVSS 6.9) Infinite Loop vulnerability in python urllib3. EPSS estimates a 0.29% chance of exploitation in the next 30 days, higher than 20.3% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 9 · Related 8Timeline
- 29-09-2026PublishedVulnerability first disclosed.
- 29-09-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
9 scores · 7 sources · 2 versions- OSV · PypiEcosystem advisory · calculated6.9MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
- OSV · UbuntuEcosystem advisory · calculated6.9MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
- OSV · WolfiEcosystem advisory · calculated6.9MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
- OSV · ChainguardEcosystem advisory · calculated6.9MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
- NVDNIST6.9MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/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 · DebianEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- NVDNIST5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS trend
Probability
0.29%
Chance of exploitation in the next 30 days
Percentile
20%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard151 products
- airflow-2< 2.11.2-r26
- airflow-core-2< 2.11.2-r11
- ansible-operator< 1.42.3-r19
- ansible-operator-fips< 1.42.3-r16
- apache-beam-python-3.11-sdk< 2.76.0-r4
Wolfi28 products
- confluent-docker-utilsAll versions (No fix recorded) | < 0.0.172-r4
- datadog-agent-7.77-core-integrations< 7.77.3-r27
- datadog-agent-7.78< 7.78.4-r23
- datadog-agent-7.78-core-integrationsAll versions (No fix recorded)
- datadog-agent-7.79All versions (No fix recorded)
Ubuntu2 products
- python-pipAll versions (No fix recorded)
- python-urllib3All versions (No fix recorded) | < 2.6.3-1ubuntu1.2
Debian1 product
- python-urllib3< 2.8.0-1
PyPI1 product
- urllib3≥ 2.6.2, < 2.8.0
Python1 product
- urllib3≥ 2.6.2, < 2.8.0
Urllib31 product
- urllib3≥ 2.6.2, < 2.8.0
7 vendors · 185 products
References
12 links- github.com/urllib3/urllib3/security/advisories/GHSA-gh4c-6fx4-qh6gX Refsource CONFIRMWEBREPORTAdvisoryMitigationVendor Advisory
- github.com/urllib3/urllib3/commit/ea2ad7b21a80da3632f80016526a18864586077fX Refsource MISCWEBREPORTFIXPatch
- github.com/urllib3/urllib3PACKAGE
- pypi.org/project/urllib3PACKAGE