{"id":"CVE-2026-142229","summary":"Encode httpx through 0.29.0 Resource Exhaustion via Unlimited Content-Encoding Decoder Chain","details":"Encode httpx through 0.29.0 contains a resource exhaustion vulnerability in Response._get_content_decoder that allows malicious servers to exhaust client CPU and memory via unlimited Content-Encoding codings. Attackers can send a Content-Encoding header listing thousands of codings, forcing allocation of thousands of decompressor objects and amplified decompression of nested bodies.","modified":"2026-12-02T18:00:23.353680450Z","published":"2026-12-02T16:50:15.196Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-770"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142229.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142229.json"},{"type":"PACKAGE","url":"https://github.com/encode/httpx"},{"type":"ARTICLE","url":"https://github.com/encode/httpx/blob/0.29.0/httpx/_decoders.py#L203-L226"},{"type":"ARTICLE","url":"https://github.com/encode/httpx/blob/0.29.0/httpx/_models.py#L699-L722"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142229"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/encode-httpx-through-0.29.0-resource-exhaustion-via-unlimited-content-encoding-decoder-chain"}],"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-142229.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:L/SC:N/SI:N/SA:N"}]}