Skip to content

CVE-2026-142229 Encode httpx through 0.29.0 Resource Exhaustion via Unlimited Content-Encoding Decoder Chain

MediumCVSS 6.3
Published
Updated
Exploit status
No public exploit known

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
pypi httpx <= 0.29.0 after 0.29.0 Fixed

Affected products

ProductAffected versionsFixed in
pypi httpx <= 0.29.0 No fix listed

References