CVE-2026-142229: Encode httpx through 0.29.0 Resource Exhaustion via Unlimited Content-Encoding Decoder Chain
Encode httpx through 0.29.0 contains a resource exhaustion vulnerability in Response.getcontentdecoder 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
Event History
Frequently Asked Questions
Which deployments should be investigated?
Investigate applications using Encode httpx versions through 0.29.0, particularly where the application makes requests to servers that may be malicious or otherwise untrusted.
What does an attacker need to exploit this issue?
An attacker needs to control an HTTP response sent to the client, including its Content-Encoding header and encoded body. The CVSS vector indicates no privileges or user interaction are required, but exploitation has high attack complexity.
What is the expected security impact?
The issue affects availability by consuming client CPU and memory through creation of many decompressor objects and nested decompression. The provided CVSS vector indicates no confidentiality or integrity impact.