CVE-2026-44432
JSON

8.9high

urllib3: Decompression-bomb safeguards bypassed in parts of the streaming API

Severity
8.9high CVSS:4.0 by GitHub_M
Exploit likelihood
0.69% (higher than 54% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-mf9v-mfxr-j63jPYSEC-2026-142

Description

urllib3 is an HTTP client library for Python. From 2.6.0 to before 2.7.0, urllib3 could decompress the whole response instead of the requested portion (1) during the second HTTPResponse.read(amt=N) call when the response was decompressed using the official Brotli library or (2) 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) on the client side. This vulnerability is fixed in 2.7.0.

Affected

Product or packageVersionsReported by
urllib3 urllib3>= 2.6.0, < 2.7.0CVE List
automation-controllerNot specified
Not affected: from 0:4.6.30-2.el8ap before *, from 0:4.6.30-2.el9ap before *, from 0:4.7.14-3.el9ap before *
CVE List
python3.12-urllib3Not specified
Not affected: from 0:2.7.0-1.el9ap before *, from 0:1.26.19-3.el8_10 before *, from 0:1.26.19-3.el9_8 before *
CVE List
python3.14-urllib3Not specified
Not affected: from 0:2.6.3-2.el10_2 before *, from 0:2.6.3-2.el9_8 before *
CVE List
python-urllib3Not specified
Not affected: from 0:1.26.19-4.el10_2 before *, from 0:1.26.5-8.el9_8 before *, from 0:1.26.5-3.el9_2.4 before *, from 0:1.26.5-5.el9_4.4 before *, from 0:1.26.5-6.el9_6.2 before *
CVE List
rhaiis/model-opt-cuda-rhel9Not specified
Not affected: from 1782352950 before *
CVE List
rhaiis/vllm-spyre-rhel9Not specified
Not affected: from 1782352919 before *
CVE List
rhaiis/vllm-rocm-rhel9Not specified
Not affected: from 1782353093 before *
CVE List
rhaiis/vllm-cuda-rhel9Not specified
Not affected: from 1782352847 before *
CVE List
rhaii/vllm-cpu-rhel9Not specified
Not affected: from 1780356811 before *
CVE List
rhaii/vllm-spyre-rhel9Not specified
Not affected: from 1780356904 before *
CVE List
rhaii/model-opt-cuda-rhel9Not specified
Not affected: from 1780356941 before *
CVE List

All scores

GitHub_M8.9high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H
redhat-SADP7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
PyPA Advisory Database7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-409

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

urllib3 is an HTTP client library for Python. From 2.6.0 to before 2.7.0, urllib3 could decompress the whole response instead of the requested portion (1) during the second HTTPResponse.read(amt=N) call when the response was decompressed using the official Brotli library or (2) 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) on the client side. This vulnerability is fixed in 2.7.0.

GitHub Advisory Database
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:

  1. During the second HTTPResponse.read(amt=N) call when the response was decompressed using the official Brotli library.
  2. 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:

  1. A response encoded with br is read incrementally with at least two HTTPResponse.read(amt=N) or HTTPResponse.stream(amt=N) calls while using the official Brotli library.
  2. 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:

  1. Is more efficient for reads with Brotli.
  2. Always skips decompression for HTTPResponse.drain_conn().

If upgrading is not immediately possible, the following workarounds may reduce exposure in specific cases:

  1. 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.
  2. If your code explicitly calls HTTPResponse.drain_conn(), call HTTPResponse.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.

NVD (es)

urllib3 es una biblioteca cliente HTTP para Python. Desde la versión 2.6.0 hasta antes de la 2.7.0, urllib3 podía descomprimir la respuesta completa en lugar de la porción solicitada (1) durante la segunda llamada a HTTPResponse.read(amt=N) cuando la respuesta era descomprimida usando la biblioteca oficial de Brotli o (2) cuando se llamaba a HTTPResponse.drain_conn() después de que la respuesta había sido leída y descomprimida parcialmente (el algoritmo de compresión no importaba aquí). Estos problemas podrían causar que urllib3 decodificara completamente una pequeña cantidad de datos altamente comprimidos en una sola operación. Esto podría resultar en un consumo excesivo de recursos (alto uso de CPU y asignación masiva de memoria para los datos descomprimidos) en el lado del cliente. Esta vulnerabilidad está corregida en la versión 2.7.0.

References

https://github.com/urllib3/urllib3/security/advisories/GHSA-mf9v-mfxr-j63jadvisory, mitigation, vendor-advisory, web
https://access.redhat.com/security/cve/CVE-2026-44432vdb-entry
https://bugzilla.redhat.com/show_bug.cgi?id=2477154issue-tracking
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-44432.json
https://access.redhat.com/errata/RHSA-2026:42078vendor-advisory
https://access.redhat.com/errata/RHSA-2026:34160vendor-advisory
https://access.redhat.com/errata/RHSA-2026:42079vendor-advisory
https://access.redhat.com/errata/RHSA-2026:27929vendor-advisory
https://access.redhat.com/errata/RHSA-2026:32992vendor-advisory
https://access.redhat.com/errata/RHSA-2026:28159vendor-advisory
https://access.redhat.com/errata/RHSA-2026:28157vendor-advisory
https://access.redhat.com/errata/RHSA-2026:28000vendor-advisory

Sources

SourceRecordLicence
CVE ListCVE-2026-44432 changed 2026-09-10CVE Terms of Use
GitHub Advisory DatabaseGHSA-mf9v-mfxr-j63j changed 2026-09-10CC-BY-4.0
NVDCVE-2026-44432 changed 2026-11-11Public domain
PyPA Advisory DatabasePYSEC-2026-142 changed 2026-05-20CC-BY-4.0