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 package | Versions | Reported by |
|---|---|---|
| urllib3 urllib3 | >= 2.6.0, < 2.7.0 | CVE List |
| automation-controller | Not 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-urllib3 | Not 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-urllib3 | Not specified Not affected: from 0:2.6.3-2.el10_2 before *, from 0:2.6.3-2.el9_8 before * | CVE List |
| python-urllib3 | Not 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-rhel9 | Not specified Not affected: from 1782352950 before * | CVE List |
| rhaiis/vllm-spyre-rhel9 | Not specified Not affected: from 1782352919 before * | CVE List |
| rhaiis/vllm-rocm-rhel9 | Not specified Not affected: from 1782353093 before * | CVE List |
| rhaiis/vllm-cuda-rhel9 | Not specified Not affected: from 1782352847 before * | CVE List |
| rhaii/vllm-cpu-rhel9 | Not specified Not affected: from 1780356811 before * | CVE List |
| rhaii/vllm-spyre-rhel9 | Not specified Not affected: from 1780356904 before * | CVE List |
| rhaii/model-opt-cuda-rhel9 | Not specified Not affected: from 1780356941 before * | CVE List |
| rhaii/vllm-cuda-rhel9 | Not specified Not affected: from 1780356914 before * | CVE List |
| ansible-automation-platform-25/hub-rhel8 | Not specified Not affected: from 1784050598 before * | CVE List |
| ansible-automation-platform-26/gateway-rhel9 | Not specified Not affected: from 1782761510 before * | CVE List |
| ansible-automation-platform-26/lightspeed-chatbot-rhel9 | Not specified Not affected: from 1782650747 before * | CVE List |
| ansible-automation-platform-26/controller-rhel9 | Not specified Not affected: from 1783973764 before * | CVE List |
| ansible-automation-platform-26/de-minimal-rhel9 | Not specified Not affected: from 1783921549 before * | CVE List |
| ansible-automation-platform-26/de-supported-rhel9 | Not specified Not affected: from 1783923629 before * | CVE List |
| ansible-automation-platform-tech-preview/metrics-service-rhel9 | Not specified Not affected: from 1783969139 before * | CVE List |
| ansible-automation-platform-27/eda-controller-rhel9 | Not specified Not affected: from 1781028735 before * | CVE List |
| ansible-automation-platform-27/hub-rhel9 | Not specified Not affected: from 1781102816 before * | CVE List |
| discovery/discovery-server-rhel9 | Not specified Not affected: from 1779395228 before * | CVE List |
| discovery/discovery-ui-rhel9 | Not specified Not affected: from 1782756541 before * | CVE List |
| trivy-main | Not specified Not affected: from 0.69.3-1.2.hum1 before * | CVE List |
| rust-main | Not specified Not affected: from 1.96.0-1.hum1 before * | CVE List |
| python-trustme-main | Not specified Not affected: from 1.2.1-2.hum1 before * | CVE List |
| python-urllib3-main | Not specified Not affected: from 2.7.0-3.hum1 before * | CVE List |
| python-cryptography-main | Not specified Not affected: from 48.0.0-3.hum1 before * | CVE List |
| llvm21-main | Not specified Not affected: from 21.1.8-6.hum1 before * | CVE List |
| python-rpds-py-main | Not specified Not affected: from 2026.5.1-1.hum1 before * | CVE List |
| jaeger-main | Not specified Not affected: from 2.19.0-1.hum1 before * | CVE List |
| mariadb11-8-main | Not specified Not affected: from 11.8.8-1.hum1 before * | CVE List |
| python-sentry-sdk-main | Not specified Not affected: from 2.48.0-4.1.hum1 before * | CVE List |
| llvm-main | Not specified Not affected: from 21.1.8-1.1.hum1 before * | CVE List |
| mta/mta-solution-server-rhel9 | Not specified Not affected: from 1784109883 before * | CVE List |
| mta/mta-rhel9-operator | Not specified Not affected: from 1786481481 before * | CVE List |
| rhoai/odh-kserve-storage-initializer-rhel9 | Not specified Not affected: from 1783024305 before *, from 1783010225 before * | CVE List |
| rhoai/odh-llama-stack-core-rhel9 | Not specified Not affected: from 1783701598 before * | CVE List |
| rhoai/odh-modelmesh-runtime-adapter-rhel9 | Not specified Not affected: from 1783342900 before * | CVE List |
| rhoai/odh-model-registry-job-async-upload-rhel9 | Not specified Not affected: from 1783112979 before *, from 1782854229 before * | CVE List |
| rhoai/odh-ta-lmes-job-rhel9 | Not specified Not affected: from 1783091175 before * | CVE List |
| rhoai/odh-vllm-cuda-rhel9 | Not specified Not affected: from 1783998774 before * | CVE List |
| rhoai/odh-vllm-rocm-rhel9 | Not specified Not affected: from 1783998857 before * | CVE List |
| rhoai/odh-mlflow-rhel9 | Not specified Not affected: from 1782917849 before * | CVE List |
| rhoai/odh-mlserver-rhel9 | Not specified Not affected: from 1782887848 before * | CVE List |
| rhoai/odh-training-cuda121-torch24-py311-rhel9 | Not specified Not affected: from 1782471555 before * | CVE List |
| rhoai/odh-training-cuda124-torch25-py311-rhel9 | Not specified Not affected: from 1782471579 before * | CVE List |
| rhoai/odh-training-cuda128-torch28-py312-rhel9 | Not specified Not affected: from 1783073038 before * | CVE List |
| rhoai/odh-training-cuda128-torch29-py312-rhel9 | Not specified Not affected: from 1782991170 before * | CVE List |
| rhoai/odh-training-rocm62-torch24-py311-rhel9 | Not specified Not affected: from 1782471656 before * | CVE List |
| rhoai/odh-training-rocm62-torch25-py311-rhel9 | Not specified Not affected: from 1782471663 before * | CVE List |
| rhoai/odh-training-rocm64-torch28-py312-rhel9 | Not specified Not affected: from 1783069204 before * | CVE List |
| rhoai/odh-training-rocm64-torch29-py312-rhel9 | Not specified Not affected: from 1782991170 before * | CVE List |
| rhoai/odh-trustyai-garak-lls-provider-dsp-rhel9 | Not specified Not affected: from 1782472374 before * | CVE List |
| quay/quay-rhel8 | Not specified Not affected: from 1782487717 before *, from 1781937357 before *, from 1784351966 before *, from 1781878070 before * | CVE List |
| quay/quay-rhel9 | Not specified Not affected: from 1783955846 before * | CVE List |
| satellite/iop-puptoo-rhel9 | Not specified Not affected: from 1779792651 before *, from 1780393451 before * | CVE List |
| satellite/iop-insights-engine-rhel9 | Not specified Not affected: from 1779711334 before *, from 1782448455 before * | CVE List |
| satellite/foreman-mcp-server-rhel9 | Not specified Not affected: from 1782739344 before * | CVE List |
| satellite/iop-vmaas-rhel9 | Not specified Not affected: from 1782139619 before * | CVE List |
| satellite/iop-yuptoo-rhel9 | Not specified Not affected: from 1782380482 before * | CVE List |
| satellite/iop-advisor-backend-rhel9 | Not specified Not affected: from 1784558259 before * | CVE List |
| rhtas/segment-reporting-rhel9 | Not specified Not affected: from 1780560117 before * | CVE List |
| rhtas/model-transparency-rhel9 | Not specified Not affected: from 1780914886 before * | CVE List |
| rhui5/cds-kubernetes-rhel9 | Not specified Not affected: from 1784794818 before * | CVE List |
| rhui5/cds-rhel9 | Not specified Not affected: from 1784794778 before * | CVE List |
| rhui5/haproxy-rhel9 | Not specified Not affected: from 1784795112 before * | CVE List |
| rhui5/installer-rhel9 | Not specified Not affected: from 1784794289 before * | CVE List |
| rhui5/rhua-rhel9 | Not specified Not affected: from 1784795076 before * | CVE List |
| rhui5/cds-kubernetes-tp-rhel9 | Not specified Not affected: from 1787241211 before * | CVE List |
| rhui5/installer-tp-rhel9 | Not specified Not affected: from 1787135742 before * | CVE List |
| rhui5/rhua-tp-rhel9 | Not specified Not affected: from 1787241260 before * | CVE List |
| exploit-intelligence-tech-preview/vulnerability-analysis-rhel9 | Not specified | CVE List |
| external-secrets-operator/bitwarden-sdk-server-rhel9 | Not specified | CVE List |
| external-secrets-operator/external-secrets-operator-bundle | Not specified | CVE List |
| external-secrets-operator/external-secrets-operator-rhel9 | Not specified | CVE List |
| external-secrets-operator/external-secrets-rhel9 | Not specified | CVE List |
| rhmtc/openshift-migration-rhel8-operator | Not specified | CVE List |
| migration-toolkit-virtualization/mtv-rhel9-operator | Not specified | CVE List |
| mtv-candidate/mtv-rhel9-operator | Not specified | CVE List |
| openshift-lightspeed/lightspeed-ocp-rag-rhel9 | Not specified | CVE List |
| openshift-lightspeed/lightspeed-service-api-rhel9 | Not specified | CVE List |
| openshift-lightspeed/lightspeed-to-dataverse-exporter-rhel9 | Not specified | CVE List |
| openshift-service-mesh/kiali-rhel9-operator | Not specified | CVE List |
| pen-drive/pen-drive-scanner-rhel9 | Not specified | CVE List |
| rhaiis/vllm-neuron-rhel9 | Not specified | CVE List |
| rhaiis/vllm-tpu-rhel9 | Not specified | CVE List |
| ansible-automation-platform-24/lightspeed-rhel8 | Not specified | CVE List |
| ansible-automation-platform-25/ee-supported-rhel8 | Not specified | CVE List |
| ansible-automation-platform-25/lightspeed-chatbot-rhel8 | Not specified | CVE List |
| ansible-automation-platform-25/lightspeed-rhel8 | Not specified | CVE List |
| ansible-automation-platform-26/eda-controller-rhel9-operator | Not specified | CVE List |
| ansible-automation-platform-26/ee-minimal-rhel9 | Not specified | CVE List |
| ansible-automation-platform-26/ee-supported-rhel9 | Not specified | CVE List |
| ansible-automation-platform-26/gateway-rhel9-operator | Not specified | CVE List |
| ansible-automation-platform-26/hub-rhel9-operator | Not specified | CVE List |
| ansible-automation-platform-26/lightspeed-rhel9 | Not specified | CVE List |
| ansible-automation-platform-26/lightspeed-rhel9-operator | Not specified | CVE List |
| ansible-automation-platform-26/platform-resource-rhel9-operator | Not specified | CVE List |
| ansible-automation-platform-26/platform-resource-runner-rhel9 | Not specified | CVE List |
| ansible-automation-platform/automation-dashboard-rhel9 | Not specified | CVE List |
| ansible-automation-platform-tech-preview/metrics-service-rhel9-operator | Not specified | CVE List |
| urllib3 | Not specified | CVE List |
| rhdh/rhdh-hub-rhel9 | Not specified | CVE List |
| python3.14-pip | Not specified | CVE List |
| python-pip | Not specified | CVE List |
| python-s3transfer | Not specified | CVE List |
| fence-agents | Not specified | CVE List |
| python3.11-pip | Not specified | CVE List |
| python3.12-pip | Not specified | CVE List |
| resource-agents | Not specified | CVE List |
| rhelai3/bootc-aws-cuda-rhel9 | Not specified | CVE List |
| rhelai3/bootc-azure-cuda-rhel9 | Not specified | CVE List |
| rhelai3/bootc-azure-rocm-rhel9 | Not specified | CVE List |
| rhelai3/bootc-cuda-rhel9 | Not specified | CVE List |
| rhelai3/bootc-gcp-cuda-rhel9 | Not specified | CVE List |
| rhelai3/bootc-rocm-rhel9 | Not specified | CVE List |
| rhelai3/disk-image-cuda-rhel9 | Not specified | CVE List |
| python-attrs | Not specified | CVE List |
| rhoai/odh-built-in-detector-rhel9 | Not specified | CVE List |
| rhoai/odh-caikit-nlp-rhel9 | Not specified | CVE List |
| rhoai/odh-caikit-tgis-serving-rhel9 | Not specified | CVE List |
| rhoai/odh-feature-server-rhel9 | Not specified | CVE List |
| rhoai/odh-guardrails-detector-huggingface-runtime-rhel9 | Not specified | CVE List |
| rhoai/odh-kserve-agent-rhel9 | Not specified | CVE List |
| rhoai/odh-kserve-controller-rhel9 | Not specified | CVE List |
| rhoai/odh-kserve-router-rhel9 | Not specified | CVE List |
| rhoai/odh-llm-d-inference-scheduler-rhel9 | Not specified | CVE List |
| rhoai/odh-ml-pipelines-runtime-generic-rhel9 | Not specified | CVE List |
| rhoai/odh-modelmesh-runtime-adapter-rhel8 | Not specified | CVE List |
| rhoai/odh-openvino-model-server-rhel9 | Not specified | CVE List |
| rhoai/odh-pipeline-runtime-datascience-cpu-py312-rhel9 | Not specified | CVE List |
| rhoai/odh-pipeline-runtime-minimal-cpu-py312-rhel9 | Not specified | CVE List |
| rhoai/odh-pipeline-runtime-pytorch-cuda-py312-rhel9 | Not specified | CVE List |
| rhoai/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-rhel9 | Not specified | CVE List |
| rhoai/odh-pipeline-runtime-pytorch-rocm-py312-rhel9 | Not specified | CVE List |
| rhoai/odh-pipeline-runtime-tensorflow-cuda-py312-rhel9 | Not specified | CVE List |
| rhoai/odh-pipeline-runtime-tensorflow-rocm-py312-rhel9 | Not specified | CVE List |
| rhoai/odh-trustyai-nemo-guardrails-server-rhel9 | Not specified | CVE List |
| rhoai/odh-vllm-gaudi-rhel9 | Not specified | CVE List |
| rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9 | Not specified | CVE List |
| rhoai/odh-workbench-jupyter-datascience-cpu-py312-rhel9 | Not specified | CVE List |
| rhoai/odh-workbench-jupyter-minimal-cpu-py312-rhel9 | Not specified | CVE List |
| rhoai/odh-workbench-jupyter-minimal-cuda-py312-rhel9 | Not specified | CVE List |
| rhoai/odh-workbench-jupyter-minimal-rocm-py312-rhel9 | Not specified | CVE List |
| rhoai/odh-workbench-jupyter-pytorch-cuda-py312-rhel9 | Not specified | CVE List |
| rhoai/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-rhel9 | Not specified | CVE List |
| rhoai/odh-workbench-jupyter-pytorch-rocm-py312-rhel9 | Not specified | CVE List |
| rhoai/odh-workbench-jupyter-tensorflow-cuda-py312-rhel9 | Not specified | CVE List |
| rhoai/odh-workbench-jupyter-tensorflow-rocm-py312-rhel9 | Not specified | CVE List |
| rhoai/odh-workbench-jupyter-trustyai-cpu-py312-rhel9 | Not specified | CVE List |
| rhoai/rhai-cli-rhel9 | Not specified | CVE List |
| openshift4/ose-agent-installer-api-server-rhel9 | Not specified | CVE List |
| openshift4/ose-ansible-rhel9-operator | Not specified | CVE List |
| openshift4/ose-olm-catalogd-rhel9 | Not specified | CVE List |
| openshift4/ztp-site-generate-rhel8 | Not specified | CVE List |
| openshift/ose-rhel-coreos-9 | Not specified | CVE List |
| container-native-virtualization/hyperconverged-cluster-operator-rhel9 | Not specified | CVE List |
| container-native-virtualization/hyperconverged-cluster-webhook-rhel9 | Not specified | CVE List |
| satellite-capsule:el8/python-urllib3 | Not specified | CVE List |
| satellite/iop-advisor-engine-rhel9 | Not specified | CVE List |
| satellite/iop-host-inventory-rhel9 | Not specified | CVE List |
| satellite/iop-vulnerability-engine-rhel9 | Not specified | CVE List |
| stf/service-telemetry-rhel9-operator | Not specified | CVE List |
| stf/smart-gateway-rhel9-operator | Not specified | CVE List |
| urllib3 (PyPI) | from 2.6.0 before 2.7.0 | GitHub Advisory Database, PyPA Advisory Database |
| python urllib3 | from 2.6.0 before 2.7.0 | NVD |
All scores
| GitHub_M | 8.9high CVSS:4.0 | CVSS: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-SADP | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| PyPA Advisory Database | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
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:
- 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.
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
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-44432 changed 2026-09-10 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-mf9v-mfxr-j63j changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2026-44432 changed 2026-11-11 | Public domain |
| PyPA Advisory Database | PYSEC-2026-142 changed 2026-05-20 | CC-BY-4.0 |