CVE-2026-142229: Encode httpx through 0.29.0 Resource Exhaustion via Unlimited Content-Encoding Decoder Chain

Published Dec 2, 2026
·
Updated

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-Encoding header listing thousands of codings, forcing allocation of thousands of decompressor objects and amplified decompression of nested bodies.

Affected Software

1 affected component
pypi/httpx<=0.29.0

Event History

Dec 2, 2026
CVE Published
via MITRE·04:50 PM
Data Sourced
via MITRE·04:50 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:17 PM
DescriptionSeverityWeakness
Event
via NVD·05:17 PM

Frequently Asked Questions

1

Which deployments should be investigated?

Investigate applications using Encode httpx versions through 0.29.0, particularly where the application makes requests to servers that may be malicious or otherwise untrusted.

2

What does an attacker need to exploit this issue?

An attacker needs to control an HTTP response sent to the client, including its Content-Encoding header and encoded body. The CVSS vector indicates no privileges or user interaction are required, but exploitation has high attack complexity.

3

What is the expected security impact?

The issue affects availability by consuming client CPU and memory through creation of many decompressor objects and nested decompression. The provided CVSS vector indicates no confidentiality or integrity impact.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203