Skip to main content

Encode httpx EUVDEUVD-2026-141601

| CVE-2026-142229 MEDIUM
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-12-02 VulnCheck GHSA-43xr-r7wq-4q5v
6.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Victim client requests attacker-controlled server
  2. Delivery
    Server returns Content-Encoding with thousands of codings
  3. Exploit
    httpx builds a long decoder chain
  4. Execution
    Amplified nested decompression of response body
  5. Impact
    Client CPU and memory exhausted (DoS)

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the httpx client (version ≤0.29.0) to issue an HTTP request to a server the attacker controls or has compromised, or to be in a MITM position, so that the attacker can set the response's Content-Encoding header to a chain of thousands of codings; the flaw is in Response._get_content_decoder, which instantiates one decompressor per listed coding and then performs nested decompression. Limiting factors: impact is a client-side denial of service only (availability), with no confidentiality or integrity effect; it cannot be triggered by a purely passive victim that only contacts trusted first-party servers, and no authentication or user interaction by the attacker's side is needed once the client connects (PR:N/UI:N). Applications that fetch untrusted or user-supplied URLs (proxies, crawlers, webhook/callback handlers, SSRF-exposed paths) are the realistic exposure.

Impact

The signals are internally consistent and point to a genuine-but-bounded issue rather than a top-tier emergency. The supplied CVSS 4.0 base score is 6.3 (medium) with vector AV:N/AC:H/AT:P/PR:N/UI:N and impact limited to VC:N/VI:N/VA:L - i.e. only a low availability impact, no confidentiality or integrity loss. The AT:P (attack requirement) and AC:H reflect the inverted threat model: the attacker is a malicious or compromised server (or a MITM), so exploitation is conditional on the httpx client being induced to connect to attacker-controlled infrastructure. There is no EPSS score in the input (missing, not zero), no CISA KEV listing, and no confirmed working exploit code - the references are the VulnCheck advisory plus two source-code line links, not a packaged PoC. The vuln.today decision label is 'this_month', which aligns with a scheduled-remediation posture rather than act_now/emergency. Net assessment: a real priority for anyone whose service makes httpx requests to untrusted or user-controlled URLs (SSRF-adjacent, webhook, proxy, crawler, or federation use cases), because httpx is very widely deployed; but for clients that only talk to trusted first-party servers the practical risk is low. No signals conflict; the main gap is the absent EPSS value, so widespread-exploitation probability cannot be quantified from this data.

Exploit ScenarioDerived

An application using httpx ≤0.29.0 sends a request to an attacker-controlled or compromised server (or one reachable via a man-in-the-middle position), which is common in webhook, proxy, crawler, or user-supplied-URL features. The server replies with a Content-Encoding header listing thousands of codings, causing Response._get_content_decoder to allocate thousands of decompressor objects and perform amplified nested decompression, exhausting the client host's CPU and memory. No public exploit code is identified at time of analysis; the trigger is documented in the VulnCheck advisory and the referenced source lines.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Dec 02, 2026

Client-side CPU and memory exhaustion in Encode httpx through 0.29.0 is reachable when the client requests a resource from a malicious or compromised server that returns a Content-Encoding header with thousands of codings; Response._get_content_decoder then allocates a decompressor per coding and performs nested decompression. The issue is availability-only, scored 6.3 under CVSS 4.0 and assessed as high attack complexity because the attacker must control or intercept the response, and it is most relevant to applications that fetch untrusted or user-supplied URLs. No CISA KEV entry or confirmed public exploit code was identified at time of analysis.

RemediationAI

No vendor-released patch or fixed version is listed in the supplied references at time of analysis; track Encode httpx releases and the VulnCheck advisory at https://www.vulncheck.com/advisories/encode-httpx-through-0.29.0-resource-exhaustion-via-unlimited-content-encoding-decoder-chain for a patched release. Because exploitation requires the attacker to control or intercept the server response, reduce exposure by ensuring httpx clients only contact trusted, first-party servers and by preventing untrusted input from choosing request destinations; for URL-fetching services, egress allowlisting to expected destinations and CPU/memory limits on the fetching process can contain the effect, with the trade-off of breaking legitimate fetches and potentially failing large responses. No specific vendor workaround is described in the supplied sources.

Affected VersionsENISA

httpx 0 ≤0.29.0

Affected Packages

euvd httpx no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Encode httpx is a Python HTTP client library. CVE-2026-142229 is CWE-770 (Allocation of Resources Without Limits or Throttling) in Response._get_content_decoder (httpx/_models.py, lines ~699-722), which processes the response Content-Encoding header and builds a decoder chain using classes in httpx/_decoders.py (~203-226). Because each listed coding results in a decompressor object and the decoders are applied in nested fashion, a server can force heavy object allocation and repeated decompression from a single response. The CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:N/UI:N/VA:L, with C/I:N) and the independent CVSS 3.1 assessment agree on remote, unauthenticated reachability only after the client connects to an attacker-controlled or compromised endpoint, with low availability impact and no confidentiality or integrity effect; the attacker must influence the response headers, and the trigger is decoder-chain construction from the attacker-supplied Content-Encoding value.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 6.3 MEDIUM
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
vuln.today AI 3.7 LOW

Attacker must occupy the server side the client connects to (precondition beyond attacker control → AC:H); no auth or interaction needed (PR:N/UI:N); only client availability degraded, so C:N/I:N/A:L.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

Prevalence
High
widely-used Python sync/async HTTP client library
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS N/A
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy