CVE-2026-142228: Vulnerability in Encode Httpx
Patch soon. Encode httpx through 0.29.0 contains an unbounded decompression vulnerability that allows malicious servers to exhaust client memory by returning highly compressed response bodies. Attackers can stack Content-Encoding layers so each 64 KB network read expands to tens of megabytes, bypassing iter_bytes chunk limits and terminating the process.
CWE-409
- Exploitation
- None confirmed
- Severity
- 8.2 of 10
- Attack likelihood
- Unknown
- Fix
- None recorded
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-f8mw-528c-5fc8
- Vector
- CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- Weakness
- CWE-409
- Published
- 2 Dec 2026
- Last change
- 4 Dec 2026
Affected products
Affected versions and the first fixed release
- Encode Httpx Through 0.29.0. No fixed version recorded
- Os85 Httpx Version 0 ≤0.29.0. No fixed version recorded
Advisories
Vendor and security advisories
- github.com/encode/httpx/blob/0.29.0/httpx/_decoders.py
- github.com/encode/httpx/blob/0.29.0/httpx/_models.py
- vulncheck.com/advisories/encode-httpx-through-0.29.0-memory-exhaustion-via-unbounded-re...
Related
- Httpx vulnerabilities Recent advisories, watch this product
- Httpx vulnerabilities Recent advisories, watch this product