{"id":"CVE-2026-142228","summary":"Encode httpx through 0.29.0 Memory Exhaustion via Unbounded Response Decompression","details":"Encode httpx through 0.29.0 contains an unbounded decompression vulnerability that allows malicious servers to exhaust client memory by returning highly compressed response bodies. Attackers can stack Content-Encoding layers so each 64 KB network read expands to tens of megabytes, bypassing iter_bytes chunk limits and terminating the process.","modified":"2026-12-02T18:00:19.928442416Z","published":"2026-12-02T16:50:16.350Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142228.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-409"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142228.json"},{"type":"PACKAGE","url":"https://github.com/encode/httpx"},{"type":"ARTICLE","url":"https://github.com/encode/httpx/blob/0.29.0/httpx/_decoders.py#L56-L105"},{"type":"ARTICLE","url":"https://github.com/encode/httpx/blob/0.29.0/httpx/_models.py#L883-L903"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142228"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/encode-httpx-through-0.29.0-memory-exhaustion-via-unbounded-response-decompression"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/encode/httpx","events":[{"introduced":"0"},{"last_affected":"c894c553dbbc6ecc25843d9ea8159a1e826f01d3"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"0"},{"last_affected":"0.29.0"}]}]}}],"versions":["0.29.0","0.28.1","0.28.0","0.27.2","0.27.1","0.27.0","0.26.0","0.25.2","0.25.1","0.25.0","0.24.1","0.24.0","0.23.3","0.23.2","0.23.1","0.23.0","0.22.0","0.21.3","0.21.2","0.21.1","0.21.0","0.20.0","1.0.0.beta0","0.19.0","0.18.2","0.18.1","0.18.0","0.17.1","0.17.0","0.16.1","0.16.0","0.15.5","0.15.4","0.15.3","0.15.2","0.15.1","0.15.0","0.14.3","0.14.2","0.14.1","0.14.0","0.13.3","0.13.2","0.13.1","0.13.0","0.13.0.dev2","0.13.0.dev1","0.13.0.dev0","0.12.1","0.12.0","0.11.1","0.11.0","0.10.0","0.9.5","0.9.4","0.9.3","0.9.2","0.9.1","0.9.0","0.8.0","0.7.8","0.7.7","0.7.6","0.7.5","0.7.4","0.7.3","0.7.2","0.7.1","0.7.0","0.6.8","0.6.7","0.6.6","0.6.5","0.6.4","0.6.3","0.6.2","0.6.1","0.6.0","0.5.0","0.4.0","0.3.1","0.3.0","0.2.1","0.2.0","0.1.1","0.1.0","0.0.3","0.0.2","0.0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142228.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}