CVE-2026-84382
CVE-2026-84382 · HTTPX2: Streaming response decompression does not bound peak memory (decompression amplification)
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 7.5 · High · EPSS 0.6% · Fix available
- Published
- Updated
Affected products and versions
httpx2
- Versions
- < 2.12.0: Affected
No fix published
python-httpx2 Debian:14
- Versions
- 2.4.0-1
- 2.5.0-1
- Affected ranges
- ECOSYSTEM: < 2.12.0-1
Update to 2.12.0-1
httpx2 PyPI
- Versions
- 0.0.0
- 2.0.0
- 2.0.0b1
- 2.1.0
- 2.10.0
- 2.11.0
- 2.2.0
- 2.3.0
- 2.4.0
- 2.5.0
- 2.6.0
- 2.7.0
- 2.8.0
- 2.9.0
- 2.9.1
- Affected ranges
- ECOSYSTEM: < 2.12.0
Update to 2.12.0
python-httpx2 Ubuntu:26.10
- Versions
- 2.5.0-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- https://github.com/pydantic/httpx2/security/advisories/GHSA-8xx6-hgc6-gc2m
- https://github.com/pydantic/httpx2/pull/1126
- https://github.com/pydantic/httpx2/commit/4fd0c70a3f207c618b145934792f791bccfb39f8
- https://github.com/pydantic/httpx2/releases/tag/v2.12.0
- https://nvd.nist.gov/vuln/detail/CVE-2026-84382