NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
🐍 PyPI
Not in CISA KEV

CVE-2026-97689 — urllib3

Fix: urllib3/urllib3@cd770b0

CVE-2026-97689 is a CWE-770 vulnerability in urllib3. A fix is available for urllib3 — see the affected versions and patch details below.

urllib3: HTTPResponse.stream()/read_chunked() buffers an unbounded chunk-size line into memory

Also known asGHSA-vxq7-64xx-v4gwPYSEC-2026-4177
Published
Updated
Affected
1 pkg
Patched
1 / 1
Exploits
None indexed
Exploitation data as of Nov 30, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

No confirmed exploitation observed yet

  • CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.

Exploitation and automatability from CISA’s SSVC triage for CVE-2026-97689.

EPSS Exploitation Probability

via FIRST.org ↗
0.4%probability of exploitation in next 30 days
Lower Risk+0.11%
Lower risk than most CVEs30th percentile — riskier than 30% of all scored CVEsHighest risk
0.00%0.31%0.63%0.94%0.3%0.3%0.4%Oct 26Nov 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

Real-World Exposure

1 pkg affected
🐍urllib3

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects PyPI packages — download data is not available via public APIs for these ecosystems.

Description

Impact

urllib3's streaming API is designed for efficiently handling large HTTP responses by reading the content in chunks, rather than loading the entire response body into memory at once. When decoding a chunked-transfer-encoded response, this API reads each chunk's size field by buffering until it sees \n or EOF.

A malicious HTTP server can return Transfer-Encoding: chunked and then send a very long run of bytes without any newline, causing the streaming client to buffer that entire run before urllib3 can reject the chunk size as invalid and allocate more memory than intended.

To fix the issue, we'll reject chunk-size fields larger than 65536 bytes, as already done in the non-streaming case, which is currently handled by the Python standard library. Note that this only applies to reading the chunk-size field, not the chunk data, which is already handled correctly. Thus, there shouldn't be any impact for non-malicious servers.

Affected usages

Applications and libraries using urllib3 versions earlier than 2.8.0 may be affected when streaming a chunked response from untrusted sources. Specifically, this affects the read_chunked() and stream() methods of the HTTPResponse object.

This also affects requests streaming API, which uses urllib3 under the hood.

Remediation

Upgrade to urllib3 version 2.8.0 or later, where chunk-size fields larger than 65536 will be rejected. If upgrading is not immediately possible, consider reading the response at once using the read() method.

Affected Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
🐍PyPIurllib3≥ 1.10.3&&< 2.8.02.8.0pip install --upgrade 'urllib3==2.8.0'

Affected Products

1 product · 1 configurations
Application
urllib3python
≥ 1.10.3 && < 2.8.0
range

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for urllib3, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update urllib3 to 2.8.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2026-97689 is resolved across your whole dependency graph.

  3. Workarounds

    Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatImportant

This vulnerability is rated as an Important impact because an untrusted remote server can trigger process crashes and complete denial of service across client applications without requiring authentication or special privileges. In Red Hat environments, urllib3 is integrated across numerous system tools, container…

ProductFixed inAdvisory
Red Hat Ansible Automation Platform 2.6 for RHEL 9automation-controller-0:4.7.20-1.el9apRHSA-2026:100715
Red Hat Ansible Automation Platform 2.7 for RHEL 9python3.12-urllib3-0:2.8.0-1.el9apRHSA-2026:100716
Red Hat Enterprise Linux 10python3.14-urllib3-0:2.6.3-2.el10_2.6RHSA-2026:84578
Red Hat Enterprise Linux 10python-urllib3-0:1.26.19-4.el10_2.2RHSA-2026:85930
Red Hat Enterprise Linux 10.0 Extended Update Supportpython-urllib3-0:1.26.19-2.el10_0.2RHSA-2026:98096
Red Hat Enterprise Linux 8python3.12-urllib3-0:1.26.19-5.el8_10RHSA-2026:92474
Red Hat Enterprise Linux 8python-urllib3-0:1.24.2-11.el8_10RHSA-2026:90759
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportpython-urllib3-0:1.24.2-5.el8_4.2RHSA-2026:100500

Frequently Asked Questions

## Impact urllib3's [streaming API](https://urllib3.readthedocs.io/en/2.7.0/advanced-usage.html#streaming-and-i-o) is designed for efficiently handling large HTTP responses by reading the content in chunks, rather than loading the entire response body into memory at once. When decoding a [chunked-transfer-encoded response](https://httpwg.org/specs/rfc9112.html#chunked.encoding), this API reads each chunk's size field by buffering until it sees `\n` or EOF. A malicious HTTP server can return `Transfer-Encoding: chunked` and then send a very long run of bytes without any newline, causing the s
O3 Security · Impact-Aware SCA

Is CVE-2026-97689 in your dependencies?

Find it across PyPI, including transitive dependencies.

CVE-2026-97689: urllib3 — Fixed in 2.8.0