P3 · MediumCVSS 5.9EPSS 0.7%
httpx2 through 2.17.0 Memory Exhaustion via iter_lines and aiter_lines
- CVE-2026-142230
- GHSA-w6q7-whg6-3hvv
- EUVD-2026-141600
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().
Text from the CVE.org record.
Recommendation
No source states a fixed version. Check the vendor advisory.
Affected
pydantic httpx2
Affected versions Fixed in up to 2.17.0 none stated
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.