CVE-2026-44432 — Vulnerability in urllib3 — CVE Details
urllib3: Decompression-bomb safeguards bypassed in parts of the streaming API
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.88%). Schedule for your next planned update.
Does your project use an affected urllib3 version?
Paste your requirements.txt to check it for CVE-2026-44432 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Impact
urllib3's streaming API is designed for the efficient handling of large HTTP responses by reading the content in chunks, rather than loading the entire response body into memory at once.
urllib3 can perform decompression based on the HTTP Content-Encoding header (e.g., gzip, deflate, br, or zstd). When using the streaming API since version 2.6.0, the library decompresses only the necessary bytes, enabling partial content consumption.
However, urllib3 before version 2.7.0 could still decompress the whole response instead of the requested portion in two cases:
- During the second
HTTPResponse.read(amt=N)call when the response was decompressed using the official Brotli library. - When
HTTPResponse.drain_conn()was called after the response had been read and decompressed partially (compression algorithm did not matter here).
These issues could cause urllib3 to fully decode a small amount of highly compressed data in a single operation. This could result in excessive resource consumption (high CPU usage and massive memory allocation for the decompressed data; CWE-409) on the client side.
Affected usages
Applications and libraries using urllib3 versions earlier than 2.7.0 may be affected when streaming compressed responses from untrusted sources in either of these cases, unless decompression is explicitly disabled:
- A response encoded with
bris read incrementally with at least twoHTTPResponse.read(amt=N)orHTTPResponse.stream(amt=N)calls while using the official Brotli library. HTTPResponse.drain_conn()is called after response decompression has already started.
Remediation
Upgrade to at least urllib3 version 2.7.0 in which the library:
- Is more efficient for reads with Brotli.
- Always skips decompression for
HTTPResponse.drain_conn().
If upgrading is not immediately possible, the following workarounds may reduce exposure in specific cases:
- For the Brotli-specific issue only, switch from brotli to brotlicffi until you can upgrade urllib3; the official Brotli package is affected because of https://github.com/google/brotli/issues/1396.
- If your code explicitly calls
HTTPResponse.drain_conn(), callHTTPResponse.close()instead when connection reuse is not important.
Credits
The Brotli-specific issue was reported by @kimkou2024.
HTTPResponse.drain_conn() inefficiency was reported by @Cycloctane.
Advisory Timeline
- First published May 11, 2026 (199 days ago).
- Last revised September 10, 2026 — 122 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
pip install "urllib3>=2.7.0"
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: PyPI (1).
| Package | Fixed In |
|---|---|
| urllib3 PyPI · Affected: 2.6.0, 2.6.1, 2.6.2, 2.6.3 | 2.7.0 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-409
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
Frequently Asked Questions
- What is CVE-2026-44432?
- urllib3: Decompression-bomb safeguards bypassed in parts of the streaming API. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
- How do I check if my project is affected by CVE-2026-44432?
- CVE-2026-44432 affects urllib3. It has a 0.9% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-44432 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This is an above-median EPSS score — 56.9% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.
Also Known As
Related CVEs
- CVE-2025-66471HIGH
urllib3 streaming API improperly handles highly compressed data
- CVE-2026-21441HIGH
Decompression-bomb safeguards bypassed when following HTTP redirects (streaming API)
- CVE-2025-66418HIGH
urllib3 allows an unbounded number of links in the decompression chain
- CVE-2026-97687HIGH
urllib3: HTTPS proxy TLS configuration may be ignored or overridden
- CVE-2026-44431MEDIUM
- CVE-2024-37891MEDIUM
urllib3's Proxy-Authorization request header isn't stripped during cross-origin redirects
- CVE-2025-50181MEDIUM
urllib3 redirects are not disabled when retries are disabled on PoolManager instantiation
- CVE-2026-97688MEDIUM
urllib3: Chunked Deflate streaming can enter an infinite loop