All vulnerabilities

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
Weakness
Allocation without limits (CWE-770)
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.

From the CVE Program.

Affected software

SoftwareAffected versions
httpxPyPI · osv:PyPI:httpx
  • Every version up to 0.29.0

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
Search the list for httpx

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-142229