Skip to content

CVE-2026-142228 Encode httpx through 0.29.0 Memory Exhaustion via Unbounded Response Decompression

HighCVSS 8.2
Published
Updated
Exploit status
No public exploit known

Description

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.

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