Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › Vulnerabilities › encode

High 8.2 2 CVEs Analysis

httpx through 0.29.0: malicious servers can exhaust client memory and CPU via decompression

Two NVD records describe resource exhaustion flaws in Encode httpx through 0.29.0, both triggered by hostile servers abusing response content decoding. The more severe one (CVE-2026-142228, HIGH, CVSS 8.2) is an unbounded decompression issue that can terminate the client process.

What to look into

  • 2 vulnerabilities in encode httpx: 1 high, 1 medium (CVSS up to 8.2).
  • None of them is known to be exploited yet.
  • Start with CVE-2026-142228 (8.2 high): 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 stac… An attacker without an account can exploit this over the network, without any user action, but only under specific conditions.
  • 2 of 2 can be attacked over the network without logging in, 2 of them without anyone clicking anything.
  • Kinds of flaws: Improper Handling of Highly Compressed Data (Data Amplification); Allocation of Resources Without Limits or Throttling.
Vulnerabilities

Key points

  • Both CVEs affect Encode httpx through 0.29.0 and stem from unbounded decompression handling.
  • CVE-2026-142228 (HIGH, CVSS 8.2) can exhaust client memory and terminate the process via stacked Content-Encoding layers.
  • CVE-2026-142229 (MEDIUM, CVSS 6.3) allows CPU and memory exhaustion through thousands of Content-Encoding codings in Response.getcontentdecoder.
  • The sources do not give a fixed version or workaround.

The batch contains two vulnerabilities in Encode httpx, both affecting versions through 0.29.0. Both are resource exhaustion flaws in how the client handles compressed response bodies returned by a server, so the risk lies with clients that connect to untrusted or malicious servers.

The higher-severity flaw

CVE-2026-142228 is rated HIGH with a CVSS score of 8.2. According to the record, an attacker controlling a server can stack Content-Encoding layers so that each 64 KB network read expands to tens of megabytes. The record says this bypasses the iterbytes chunk limits and can exhaust client memory, terminating the process.

The decoder-level flaw

CVE-2026-142229 is rated MEDIUM with a CVSS score of 6.3. It affects Response.getcontentdecoder, which the record says has no limit on the number of Content-Encoding codings. A malicious server can send a header listing thousands of codings, causing the client to allocate thousands of decompressor objects and perform amplified decompression of nested bodies. The impact described is CPU and memory exhaustion.

Common theme and exposure

Both records share a root pattern: the client trusts the amount of decompression work a server demands. Neither record states that exploitation has been observed in the wild, and the sources do not describe any authentication requirement or specific deployment conditions beyond the client receiving responses from a malicious server.

What the sources do not say

The records do not name a fixed version, a workaround, or detection guidance. They also do not give details on how the flaws were discovered.

What to do

  1. Check whether httpx versions through 0.29.0 are in use in your applications and dependencies.
  2. Watch for an upstream fixed release; the records do not name one.

Our article about all 2 vulnerabilities, written with AI assistance from the official records listed below. Each CVE's page has its details.

The 2 vulnerabilities

  • CVE-2026-142228 8.2 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…
  • CVE-2026-142229 6.3 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-Enco…

Frequently asked questions

How many encode httpx vulnerabilities were published on December 2, 2026?

2 vulnerabilities: 1 high, 1 medium, with CVSS scores up to 8.2.

Are any of them being exploited?

None of them is in CISA's Known Exploited Vulnerabilities catalog yet.

Which one should be fixed first?

CVE-2026-142228 (CVSS 8.2): 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 stac…

Original records