{
  "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-409"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142228.json"
  },
  "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.",
  "id": "CVE-2026-142228",
  "modified": "2026-12-02T17:46:02.660646310Z",
  "published": "2026-12-02T16:50:16.350Z",
  "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"
    }
  ],
  "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:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Encode httpx through 0.29.0 Memory Exhaustion via Unbounded Response Decompression"
}