CVE-2026-142230
httpx2 through 2.17.0 Memory Exhaustion via iter_lines and aiter_lines
- Severity
- high CVSS 8.2 (v4.0)
- Affects
- httpx2 · pydantic
- Weakness
- CWE-770: Allocation of Resources Without Limits or Throttling
- Published
- 2 December 2026 by VulnCheck
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().
Our coverage
We have not written about this one. Know why it matters? Send a tip.