CVE-2026-97688
urllib3: Chunked Deflate streaming can enter an infinite loop
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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.292% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T16:57:41.748Z. Public exploit availability is not used to set this status.
CVSS 4.0 · 6.9 · published by GitHub_MCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Assessment source · checked 2026-11-19T12:59:31.953Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T16:57:41.748Z | CISA KEV |
| cvss | verified | 2026-11-19T12:59:31.953Z | CVE Program |
| epss | verified | 2026-11-19T16:04:57.549Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:19.880Z | OSV |
| affected | verified | 2026-11-19T12:59:31.953Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:59:31.953Z | CVE Program |
Affected versions and configuration
urllib3 urllib3; default status: unknown: >= 2.6.2, < 2.8.0 [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "urllib3",
"product": "urllib3",
"versions": [
{
"status": "affected",
"version": ">= 2.6.2, < 2.8.0"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-97688",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-09-29T15:42:28.931695Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-09-29T15:42:34.502Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-gh4c-6fx4-qh6g",
"aliases": [
"CVE-2026-97688",
"PYSEC-2026-4176"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "2.6.2"
},
{
"fixed": "2.8.0"
}
]
}
],
"package": {
"name": "urllib3",
"purl": "pkg:pypi/urllib3",
"ecosystem": "PyPI"
},
"versions": [
"2.6.2",
"2.6.3",
"2.7.0"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-gh4c-6fx4-qh6g/GHSA-gh4c-6fx4-qh6g.json"
}
}
],
"severity": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/urllib3/urllib3/security/advisories/GHSA-gh4c-6fx4-qh6g",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-97688",
"type": "ADVISORY"
},
{
"url": "https://github.com/urllib3/urllib3/commit/ea2ad7b21a80da3632f80016526a18864586077f",
"type": "WEB"
},
{
"url": "https://github.com/urllib3/urllib3",
"type": "PACKAGE"
},
{
"url": "https://github.com/urllib3/urllib3/releases/tag/2.8.0",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-835"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2026-09-29T16:17:18Z",
"github_reviewed_at": "2026-09-30T15:00:38Z"
}
}Archived source JSONOSV · osv · full conditions
{
"id": "PYSEC-2026-4176",
"aliases": [
"CVE-2026-97688",
"GHSA-gh4c-6fx4-qh6g"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "2.6.2"
},
{
"fixed": "2.8.0"
}
]
}
],
"package": {
"name": "urllib3",
"purl": "pkg:pypi/urllib3",
"ecosystem": "PyPI"
},
"versions": [
"2.6.2",
"2.6.3",
"2.7.0"
],
"database_specific": {
"source": "https://github.com/pypa/advisory-database/blob/main/vulns/urllib3/PYSEC-2026-4176.yaml"
}
}
],
"severity": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/urllib3/urllib3/security/advisories/GHSA-gh4c-6fx4-qh6g",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-97688",
"type": "ADVISORY"
},
{
"url": "https://github.com/urllib3/urllib3/commit/ea2ad7b21a80da3632f80016526a18864586077f",
"type": "WEB"
},
{
"url": "https://github.com/urllib3/urllib3",
"type": "PACKAGE"
},
{
"url": "https://github.com/urllib3/urllib3/releases/tag/2.8.0",
"type": "WEB"
},
{
"url": "https://pypi.org/project/urllib3",
"type": "PACKAGE"
},
{
"url": "https://github.com/advisories/GHSA-gh4c-6fx4-qh6g",
"type": "ADVISORY"
}
],
"relatedGitRanges": [],
"database_specific": {}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | PyPI / package | urllib3 | Not a distribution channel | 2.8.0 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- CISA KEVConsulted: 2026-11-19T16:57:41.748ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - OSVConsulted: 2026-11-19T12:52:19.880ZArchived source JSON
Source publication: 2026-09-30T15:00:38.000Z
Source modification: 2026-10-01T17:55:40.608ZDocument fingerprint
c705836f09dbaeeedb0c5b47ec5b48d18616537acff255cb8b7892e0aed6dd2d - OSVConsulted: 2026-11-19T12:52:19.880ZArchived source JSON
Source publication: 2026-10-01T16:38:41.188Z
Source modification: 2026-10-01T17:45:18.545ZDocument fingerprint
c705836f09dbaeeedb0c5b47ec5b48d18616537acff255cb8b7892e0aed6dd2d - CVE ProgramConsulted: 2026-11-19T12:59:31.953ZArchived source JSON
Source publication: 2026-09-29T15:32:17.622Z
Source modification: 2026-09-29T15:42:34.502ZDocument fingerprint
813cda60e506a20d9e09cdd320dbcc4d81edfbe5f12fb2a323a3090ac72b10c1 - FIRST EPSSConsulted: 2026-11-19T16:04:57.549ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
7b941c304e0e4708e1d0e50f83de4ad046bba923caf3be552dde01551e9e91fc
Official status history
- UNKNOWN → PUBLISHED · · evidence