Advisory

DEBIAN-CVE-2026-21441

Also known as: CVE-2026-21441

Summary

The record has no summary.

Details

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.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2026-01-07 22:15 UTC
Modified
2026-11-11 09:47 UTC

Affected packages and fixes

python-urllib3

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 1.26.12-1+deb12u3 (ecosystem)

Fixed versions

1.26.12-1+deb12u3

Fix

  • Fixed version 1.26.12-1+deb12u3
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

python-urllib3

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 2.3.0-3+deb13u1 (ecosystem)

Fixed versions

2.3.0-3+deb13u1

Fix

  • Fixed version 2.3.0-3+deb13u1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

python-urllib3

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 2.5.0-2 (ecosystem)

Fixed versions

2.5.0-2

Fix

  • Fixed version 2.5.0-2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences