{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "0.29.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "c894c553dbbc6ecc25843d9ea8159a1e826f01d3"
            }
          ],
          "repo": "https://github.com/encode/httpx",
          "type": "GIT"
        }
      ]
    }
  ],
  "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"
  },
  "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.",
  "id": "CVE-2026-142229",
  "modified": "2026-12-02T23:45:20.323156271Z",
  "published": "2026-12-02T16:50:15.196Z",
  "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"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Encode httpx through 0.29.0 Resource Exhaustion via Unlimited Content-Encoding Decoder Chain"
}