All vulnerabilities

PyPI

CVE-2026-142228

Encode httpx through 0.29.0 Memory Exhaustion via Unbounded Response Decompression

Severity
High 8.2
Published
2 Dec 2026
Last changed
2 Dec 2026
Added to UpHeron
2 Dec 2026
Weakness
Decompression bomb (CWE-409)
Attack
Over the network · Only under certain conditions · No login needed · No user action needed
Attacker can
Take it down
CVSS vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Sources
CVE Program

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.

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-142228