CVE-2026-21441

EUVD-2026-1188
urllib3 is an HTTP client library for Python. 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 decoding or decompression based on the HTTP `Content-Encoding` header (e.g., `gzip`, `deflate`, `br`, or `zstd`). When using the streaming API, the library decompresses only the necessary bytes, enabling partial content consumption. Starting in version 1.22 and prior to version 2.6.3, for HTTP redirect responses, the library would read the entire response body to drain the connection and decompress the content unnecessarily. This decompression occurred even before any read methods were called, and configured read limits did not restrict the amount of decompressed data. As a result, there was no safeguard against decompression bombs. A malicious server could exploit this to trigger excessive resource consumption on the client. Applications and libraries are affected when they stream content from untrusted sources by setting `preload_content=False` when they do not disable redirects. Users should upgrade to at least urllib3 v2.6.3, in which the library does not decode content of redirect responses when `preload_content=False`. If upgrading is not immediately possible, disable redirects by setting `redirect=False` for requests to untrusted source.
Data Amplification
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
7.5 HIGH
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 8%
Affected Products (NVD)
VendorProductVersion
pythonurllib3
1.22 ≤
𝑥
< 2.6.3
𝑥
= Vulnerable software versions
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
python-urllib3
bionic
ignored
focal
Fixed 1.25.8-2ubuntu0.4+esm3
released
jammy
Fixed 1.26.5-1~exp1ubuntu0.5
released
noble
Fixed 2.0.7-1ubuntu0.4
released
plucky
Fixed 2.3.0-2ubuntu0.3
released
questing
Fixed 2.3.0-3ubuntu0.2
released
trusty
not-affected
xenial
not-affected
python-pip
bionic
ignored
focal
Fixed 20.0.2-5ubuntu1.11+esm4
released
jammy
needed
noble
needed
plucky
ignored
questing
needed
trusty
not-affected
xenial
not-affected