Skip to content
OpenAdvisories
High · 7.5 CVE-2026-84382 EUVD-2026-70251GHSA-8xx6-hgc6-gc2mPYSEC-2026-3846

HTTPX2: Streaming response decompression does not bound peak memory (decompression amplification)

Published Sep 2, 2026 · Updated Sep 3, 2026 · Assigned by GitHub_M

Description

HTTPX2 is a next generation HTTP client for Python. Prior to 2.12.0, the HTTPX2 content decoders in src/httpx2/httpx2/_decoders.py fully inflate each gzip, deflate, br, or zstd network chunk before iter_bytes() or aiter_bytes() yields bounded pieces to the application. A 64 KiB compressed chunk can expand to approximately 64 MiB in one intermediate allocation, so an attacker-controlled or compromised server can cause severe memory pressure or out-of-memory process termination even when the application streams the response. This issue is fixed in version 2.12.0.

Affected products

VendorProductAffectedFixed
pydantic httpx2 < 2.12.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 python-httpx2 2.12.0-1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 python-httpx2 No fix yet —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling py3.10-httpx2 +3 2.12.0-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI httpx2 < 2.12.0 2.12.0 GHSA-8xx6-hgc6-gc2m

References