{"id":"CVE-2026-84382","published":"2026-09-02T18:03:05Z","modified":"2026-09-03T14:31:19Z","title":"HTTPX2: Streaming response decompression does not bound peak memory (decompression amplification)","vendor":"pydantic","product":"httpx2","tier":"tail","description":{"text":"HTTPX2 is a next generation HTTP client for Python. Prior to 2.12.0, the HTTPX2 content decoders in src/httpx2/httpx2/_decoders.py fully inflate each gzip, deflate, br, or zstd network chunk before iter_bytes() or aiter_bytes() yields bounded pieces to the application. A 64 KiB compressed chunk can expand to approximately 64 MiB in one intermediate allocation, so an attacker-controlled or compromised server can cause severe memory pressure or out-of-memory process termination even when the application streams the response. This issue is fixed in version 2.12.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0063,"percentile":0.5111,"provenance":"source"},"cwes":[{"id":"CWE-409","name":"Improper Handling of Highly Compressed Data (Data Amplification)"}],"references":[{"url":"https://github.com/pydantic/httpx2/security/advisories/GHSA-8xx6-hgc6-gc2m","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/pydantic/httpx2/pull/1126","tags":["x_refsource_MISC"]},{"url":"https://github.com/pydantic/httpx2/commit/4fd0c70a3f207c618b145934792f791bccfb39f8","tags":["x_refsource_MISC"]},{"url":"https://github.com/pydantic/httpx2/releases/tag/v2.12.0","tags":["x_refsource_MISC"]}],"priority":{"score":15.5,"factors":[{"name":"EPSS percentile","points":10.22},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"pydantic","affectedVersions":[{"vendor":"pydantic","product":"httpx2","versions":["< 2.12.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-09-03T14:09:07.115167Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"httpx2","vulnerableRanges":["<2.12.0"],"patched":["2.12.0"],"from":["GHSA-8xx6-hgc6-gc2m","PYSEC-2026-3846"],"provenance":"source"}],"summary":{"text":"The flaw is in the content decoders of the HTTPX2 HTTP client for Python (httpx2 by pydantic, in src/httpx2/httpx2/_decoders.py), which fully inflate each gzip, deflate, br, or zstd chunk before streamed output is yielded to the application, so streaming does not bound memory use. An attacker who controls or compromises a server the client connects to can send a highly compressed response, such as a 64 KiB chunk that expands to about 64 MiB, to exhaust memory and crash the process, with no authentication or user interaction required and only network reachability to the server needed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:28:58Z"},"euvd":{"id":"EUVD-2026-70251","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-pydantic-httpx2-cve-2026-84380","parents":[{"from":"CVE-2026-84380","to":"CVE-2026-84382","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/httpx2/httpx2/_models.py"],"commits":["https://github.com/pydantic/httpx2/commit/829b93a2393212996f613e635261f777d9ec6eab","https://github.com/pydantic/httpx2/commit/4fd0c70a3f207c618b145934792f791bccfb39f8"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2026-84381","published":"2026-09-02","fixed":"2.10.0","kev":false},{"cve":"CVE-2026-84379","published":"2026-09-02","fixed":"2.11.0","kev":false,"link":{"from":"CVE-2026-84379","to":"CVE-2026-84382","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:httpx2","fromFixed":"2.11.0","toFixed":"2.12.0","daysApart":0}]}},{"cve":"CVE-2026-84380","published":"2026-09-02","fixed":"2.11.0","kev":false},{"cve":"CVE-2026-84382","published":"2026-09-02","fixed":"2.12.0","kev":false}],"package":"PyPI:httpx2"}}