CVE-2026-142228: Encode httpx through 0.29.0 Memory Exhaustion via Unbounded Response Decompression

Published Dec 2, 2026
·
Updated

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 iterbytes chunk limits and terminating the process.

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 applications are exposed to this issue?

Applications using the PyPI httpx package through version 0.29.0 are exposed when they make requests to a malicious or attacker-controlled server that can return compressed response bodies.

2

Does exploitation require authentication or user interaction?

No. The supplied vector indicates network reachability with no privileges and no user interaction, although exploitation has high attack complexity.

3

Why do response chunk limits not prevent this memory exhaustion?

A malicious server can stack Content-Encoding layers so that a 64 KB network read decompresses into tens of megabytes. This expansion occurs in a way that bypasses iter_bytes chunk limits and can terminate the client process.

4

What is the likely impact of successful exploitation?

Successful exploitation can exhaust the client process's memory and terminate it. The provided impact data indicates availability impact only, with no stated 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