Intel

AIKIDO-2026-997635

urllib3 is vulnerable to Denial of Service (DoS)

Denial of Service (DoS)GHSA-gh4c-6fx4-qh6g Published Yesterday

69

Medium Risk

This Affects:

PYTHONurllib3
2.6.2 - 2.7.0
Fixed in 2.8.0
Are you affected? Scan for Free

TL;DR

urllib3's chunked Deflate decoding path re-invokes the zlib decompressor without confirming that each call advances the decode state. A chunked response with Deflate content-encoding can be shaped so the decompressor keeps returning without producing output or reaching the end of the stream. Streaming that response causes HTTPResponse.stream() and read_chunked() to loop indefinitely, blocking the calling thread until it is killed externally. The fix detects the stalled decode state and raises a decoding error instead of looping.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you stream a chunked response with Deflate content-encoding from a server or proxy you do not fully control.

Background info

urllib3 is vulnerable to Denial of Service (DoS) in versions 2.6.2 - 2.7.0.

How to fix this

Upgrade the urllib3 library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform