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().
Metrics
Affected Vendors & Products
Advisories
No advisories yet.
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Wed, 02 Dec 2026 17:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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(). | |
| Title | httpx2 through 2.17.0 Memory Exhaustion via iter_lines and aiter_lines | |
| Weaknesses | CWE-770 | |
| References |
| |
| Metrics |
cvssV3_1
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: VulnCheck
Published:
Updated: 2026-12-02T16:50:14.057Z
Reserved: 2026-12-02T15:28:49.985Z
Link: CVE-2026-142230
No data.
Status : Received
Published: 2026-12-02T17:17:46.250
Modified: 2026-12-02T17:17:46.250
Link: CVE-2026-142230
No data.
OpenCVE Enrichment
No data.
Weaknesses