Skip to main content
← All vulnerabilities
CVE-2026-84382PYSEC-2026-3846GHSA-8XX6-HGC6-GC2M

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.12.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • pydantic httpx2

    fixed in 2.12.0

  • httpx2PyPI

    fixed in 2.12.0

References 4

GitHub · pydantic/httpx2