CVE-2026-21441

Name
CVE-2026-21441
Description
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.
NVD Severity
unknown
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
MISC https://github.com/urllib3/urllib3/commit/8864ac407bba8607950025e0979c4c69bc7abc7b
CONFIRM https://github.com/urllib3/urllib3/security/advisories/GHSA-38jv-5279-wg99
af854a3a-2127-422b-91ae-364da2661108 https://lists.debian.org/debian-lts-announce/2026/01/msg00017.html

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:python:urllib3:*:*:*:*:*:*:*:* py3-urllib3 >= 1.22 < 2.6.3

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
py3-urllib3 edge-main 2.6.3-r0 Francesco Colista <fcolista@alpinelinux.org> fixed
py3-urllib3 edge-main 2.6.2-r0 Francesco Colista <fcolista@alpinelinux.org> possibly vulnerable
py3-urllib3 edge-main 2.5.0-r0 Francesco Colista <fcolista@alpinelinux.org> possibly vulnerable
py3-urllib3 edge-main 1.26.20-r0 Francesco Colista <fcolista@alpinelinux.org> possibly vulnerable
py3-urllib3 edge-main 1.26.18-r0 Francesco Colista <fcolista@alpinelinux.org> possibly vulnerable
py3-urllib3 edge-main 1.26.17-r0 Francesco Colista <fcolista@alpinelinux.org> possibly vulnerable
py3-urllib3 edge-main 1.26.4-r0 None possibly vulnerable
py3-urllib3 edge-main 1.25.9-r0 None possibly vulnerable
py3-urllib3 3.23-main 2.6.3-r0 Francesco Colista <fcolista@alpinelinux.org> fixed
py3-urllib3 3.23-main 2.5.0-r0 Francesco Colista <fcolista@alpinelinux.org> possibly vulnerable
py3-urllib3 3.22-main 1.26.20-r1 Francesco Colista <fcolista@alpinelinux.org> fixed
py3-urllib3 3.22-main 1.26.20-r0 Francesco Colista <fcolista@alpinelinux.org> possibly vulnerable
py3-urllib3 3.22-main 1.26.18-r0 None possibly vulnerable
py3-urllib3 3.22-main 1.26.17-r0 None possibly vulnerable
py3-urllib3 3.22-main 1.26.4-r0 None possibly vulnerable
py3-urllib3 3.22-main 1.25.9-r0 None possibly vulnerable
py3-urllib3 3.21-main 1.26.20-r1 Francesco Colista <fcolista@alpinelinux.org> fixed
py3-urllib3 3.21-main 1.26.20-r0 Francesco Colista <fcolista@alpinelinux.org> possibly vulnerable
py3-urllib3 3.21-main 1.26.18-r0 None possibly vulnerable
py3-urllib3 3.21-main 1.26.17-r0 None possibly vulnerable
py3-urllib3 3.21-main 1.26.4-r0 None possibly vulnerable
py3-urllib3 3.21-main 1.25.9-r0 None possibly vulnerable
py3-urllib3 3.20-main 1.26.18-r2 Francesco Colista <fcolista@alpinelinux.org> fixed
py3-urllib3 3.20-main 1.26.18-r1 Francesco Colista <fcolista@alpinelinux.org> possibly vulnerable
py3-urllib3 3.20-main 1.26.18-r0 None possibly vulnerable
py3-urllib3 3.20-main 1.26.17-r0 None possibly vulnerable
py3-urllib3 3.20-main 1.26.4-r0 None possibly vulnerable
py3-urllib3 3.20-main 1.25.9-r0 None possibly vulnerable
py3-urllib3 3.19-main 1.26.18-r0 Francesco Colista <fcolista@alpinelinux.org> possibly vulnerable
py3-urllib3 3.19-main 1.26.17-r0 None possibly vulnerable
py3-urllib3 3.19-main 1.26.4-r0 None possibly vulnerable
py3-urllib3 3.19-main 1.25.9-r0 None possibly vulnerable