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().

Project Subscriptions

No data.

Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

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

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 8.2, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-12-02T16:50:14.057Z

Reserved: 2026-12-02T15:28:49.985Z

Link: CVE-2026-142230

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-12-02T17:17:46.250

Modified: 2026-12-02T17:17:46.250

Link: CVE-2026-142230

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses