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

High 8.9 Published Updated

A malicious HTTP server can cause memory exhaustion in urllib3 clients by sending an unbounded chunk-size line, leading to denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-97689?

CVE-2026-97689 is a high-severity denial of service vulnerability in urllib3, published on 29 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

urllib3 is an HTTP client library for Python. From 1.10.3 until 2.8.0, the HTTPResponse.read_chunked and HTTPResponse.stream methods can allocate unbounded memory because the streaming chunk parser buffers the chunk-size field until newline or EOF without a length bound. The trigger is that a malicious server returns Transfer-Encoding: chunked followed by a very long run of bytes without a newline. The attack mechanism is that a malicious HTTP server sends a very long unterminated chunk-size line. The impact is that unbounded memory allocation can exhaust the client process. This issue is fixed in version 2.8.0.

Weakness: CWE-770

Which versions are affected by CVE-2026-97689?

3 open source packages ship an affected version, including urllib3. It affects 1 product.

PackageAffectedFixed in
urllib3 PyPIFrom 1.10.32.8.0
urllib3 PyPIFrom 1.10.32.8.0
urllib3 PyPIFrom 1.10.32.8.0
Linux distribution packages (2)
python3-urllib3 AlmaLinux:8All versions1.24.2-11.el8_10
python-urllib3 Rocky Linux:8All versions0:1.24.2-11.el8_10

Products include Python Urllib3.

How do I fix CVE-2026-97689?

Upgrade urllib3 to 2.8.0 or later.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2026-97689 being exploited?

There is no known exploitation of CVE-2026-97689 in the wild and no public exploit code.

Sources

Also known as ALSA-2026:90759, AZL-105660, AZL-105915, BELL-CVE-2026-97689, CLEANSTART-2026-DB54467, CLEANSTART-2026-DZ64581 and 49 more.

Is CVE-2026-97689 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free