Intel

AIKIDO-2026-641716

httpx2 is vulnerable to Denial of Service (DoS)

Denial of Service (DoS)GHSA-8xx6-hgc6-gc2m Published Yesterday

75

High Risk

This Affects:

PYTHONhttpx2
0.0.1 - 2.11.0
Fixed in 2.12.0
Are you affected? Scan for Free

TL;DR

Response bodies encoded with gzip, deflate, brotli, or zstandard are fully decompressed for each network read before content is passed to the application, without bounding intermediate allocations. A small compressed chunk can expand enormously, so a highly compressed response can allocate far more memory than its compressed size. Applications reading responses from untrusted servers, such as webhook receivers, crawlers, and redirect followers, can be driven to memory exhaustion or termination. The fix decompresses incrementally with bounded intermediate buffers.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you read compressed responses from untrusted servers.

Background info

httpx2 is vulnerable to Denial of Service (DoS) in versions 0.0.1 - 2.11.0.

How to fix this

Upgrade the httpx2 library to the patch version.