PyPI
CVE-2026-142229
Encode httpx through 0.29.0 Resource Exhaustion via Unlimited Content-Encoding Decoder Chain
- Severity
- Medium 6.3
- Published
- 2 Dec 2026
- Last changed
- 2 Dec 2026
- Added to UpHeron
- 2 Dec 2026
- Attack
- Over the network · Only under certain conditions · No login needed · No user action needed
- Attacker can
- Slow it down
- CVSS vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N- Sources
- CVE Program
Description
Encode httpx through 0.29.0 contains a resource exhaustion vulnerability in Response._get_content_decoder that allows malicious servers to exhaust client CPU and memory via unlimited Content-Encoding codings. Attackers can send a Content-Encoding header listing thousands of codings, forcing allocation of thousands of decompressor objects and amplified decompression of nested bodies.
Affected software
| Software | Affected versions |
|---|---|
httpxPyPI · osv:PyPI:httpx |
|
About httpx
- Weekly downloads (PyPI)
- 204,616,928PyPI Stats, 2 Dec 2026
Vulnerabilities in httpx
- In our list
- 2
- Published in the last 12 months
- 2
- Critical, last 12 months
- 0
- High, last 12 months
- 1
- Known exploited
- 0
- CVE-2026-142228Encode httpx through 0.29.0 Memory Exhaustion via Unbounded Response DecompressionHigh 8.2 2 Dec 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-142229