CVE-2025-66471
urllib3 Streaming API improperly handles highly compressed data
Reported by github_m · Published December 5, 2025
urllib3 is fixed in 2.6.0 (PyPI)
urllib3 is a user-friendly HTTP client library for Python. Starting in version 1.0 and prior to 2.6.0, the Streaming API improperly handles highly compressed data. 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. When streaming a compressed response, urllib3 can perform decoding or decompression based on the HTTP Content-Encoding header (e.g., gzip, deflate, br, or zstd). The library must read compressed data from the network and decompress it until the requested chunk size is met. Any resulting decompressed data that exceeds the requested amount is held in an internal buffer for the next read operation. The decompression logic could cause urllib3 to fully decode a small amount of highly compressed data in a single operation. This can result in excessive resource consumption (high CPU usage and massive memory allocation for the decompressed data.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| urllib3 | PyPI | 2.6.0 |
| ansible-operator | Chainguard | 1.42.2-r2 |
| tensorflow-gpu-jupyter | Chainguard | 2.21.0-r2 |
| python3-urllib3 | Amazon Linux | 1.25.10-5.amzn2023.0.6, 1.25.6-2.amzn2.0.4 |
| py3-urllib3 | Alpine | 2.6.3-r0 |
| ggshield | Chainguard | 1.48.0-r0 |
| airflow-3 | Chainguard | 3.1.4-r0 |
| nvidia-nsight-compute-13.2 | Chainguard | 2026.1.1.2-r2 |
| kubeflow-jupyter-web-app | Chainguard | 1.10.0-r8 |
| python2-pip | Amazon Linux | 20.2.2-1.amzn2.0.14 |
| python3-pip | Amazon Linux | 21.3.1-2.amzn2023.0.15, 20.2.2-1.amzn2.0.14 |
| py3-pip | Chainguard | 26.1.1-r0 |
32 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| urllib3 | urllib3 | >= 1.0, < 2.6.0 |
| chainguard | ansible-operator | 0 |
| chainguard | tensorflow-gpu-jupyter | 0 |
| amazon:2 | python3-urllib3 | 0 |
| alpine | py3-urllib3 | 0 |
| chainguard | ggshield | 0 |
| amazon:2023 | python3-urllib3 | 0 |
| chainguard | airflow-3 | 0 |
| chainguard | nvidia-nsight-compute-13.2 | 0 |
| chainguard | kubeflow-jupyter-web-app | 0 |
| amazon:2 | python2-pip | 0 |
| amazon:2 | python3-pip | 0 |
| chainguard | py3-pip | 0 |
| chainguard | kubeflow-katib | 0 |
| wolfi | datadog-agent-7.75 | 0 |
| chainguard | az | 0 |
| chainguard | pgadmin4-fips | 0 |
| wolfi | kserve | 0 |
| wolfi | pypy-3.10 | 0 |
| chainguard | superset-5.0 | 0 |
…and 105 more
Timeline
- Dec 5, 2025 CVE Published
- Dec 6, 2025 EPSS Score (30 in total, the first dated here)
- Mar 9, 2026 Security Advisory (131 in total, the first dated here)
- Mar 26, 2026 Coalition ESS Score (2 in total, the first dated here)
- Apr 20, 2026 Distribution Patch (127 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-66471
vulnetix vdb fixes CVE-2025-66471
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-66471/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/urllib3/urllib3/security/advisories/GHSA-2xpw-w6gg-jr37 x_refsource_CONFIRM
- https://github.com/urllib3/urllib3/commit/c19571de34c47de3a766541b041637ba5f716ed7 x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2025-66471 advisory
- https://github.com/advisories/GHSA-2xpw-w6gg-jr37 advisory
- https://github.com/urllib3/urllib3/commit/d0fde3672e4a4093f7587858dccfc298eb66e46c patch
- https://github.com/pypa/advisory-database/tree/main/vulns/urllib3/PYSEC-2026-1994.yaml advisory
- https://github.com/urllib3/urllib3 url
- https://pypi.org/project/urllib3 url