CVE-2026-142230 httpx2 through 2.17.0 Memory Exhaustion via iter_lines and aiter_lines
HighCVSS 8.2
- Published
- Updated
- Exploit status
- No public exploit known
Description
Pydantic httpx2 through 2.17.0 contains an unbounded memory allocation vulnerability in LineDecoder that allows malicious servers to exhaust client memory by sending decompressed bodies without newlines. Attackers can return highly compressed gzip, deflate, brotli or zstd responses that inflate roughly 1000 to 1, terminating clients reading via iter_lines() or aiter_lines().
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi httpx2 | <= 2.17.0 | after 2.17.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi httpx2 | <= 2.17.0 | No fix listed |
References
- github.com technical-description
- github.com technical-description
- VulnCheck Advisory: httpx2 through 2.17.0 Memory Exhaustion via iter_lines and aiter_lines third-party-advisory
- ENISA EUVD EUVD-2026-141600 third-party-advisory