{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "3.13.14"
              },
              {
                "introduced": "3.14.0"
              },
              {
                "fixed": "3.14.6"
              },
              {
                "introduced": "3.15.0a1"
              },
              {
                "fixed": "3.15.0b2"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "introduced": "ebf955df7a89ed0c7968f79faec1de49f61ed7cb"
            },
            {
              "introduced": "f31a89bb901067dd105b00cfa90523cf7ffdbbdd"
            },
            {
              "fixed": "fd17997c3866d61e0e7bd8201b1d8f35b40a40bd"
            },
            {
              "fixed": "c63aec69bd59c55314c06c23f4c22c03de76fe45"
            },
            {
              "fixed": "94a64bbc6ce89644cf02b82c723d9cc37f6a1870"
            },
            {
              "fixed": "24b8f12544468e4cedf5bfbe25442fcd495391e4"
            },
            {
              "fixed": "3573b3b1ecbd99030a0b18658e1bfece771b2566"
            },
            {
              "fixed": "eeea765cb9d8f1fc3d8918b272ac3c477983f27a"
            },
            {
              "fixed": "fc9b11ff49cbc82e6f917d07a61517a2b5f3145f"
            }
          ],
          "repo": "https://github.com/python/cpython",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "PSF",
    "cwe_ids": [
      "CWE-331"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/7xxx/CVE-2026-7210.json"
  },
  "details": "`xml.parsers.expat` and `xml.etree.ElementTree` use insufficient entropy for Expat hash-flooding protection, which allows a crafted XML document to trigger hash flooding.\\r\\n\\r\\nFully mitigating this vulnerability requires both updating libexpat to 2.8.0 or later and applying this patch.",
  "id": "CVE-2026-7210",
  "modified": "2026-07-08T05:36:24.134831050Z",
  "published": "2026-05-11T17:19:09.784Z",
  "references": [
    {
      "type": "WEB",
      "url": "http://www.openwall.com/lists/oss-security/2026/05/11/13"
    },
    {
      "type": "WEB",
      "url": "http://www.openwall.com/lists/oss-security/2026/05/11/8"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/7xxx/CVE-2026-7210.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://mail.python.org/archives/list/security-announce@python.org/thread/PNY5OMBDPM2FRUZTWFFPJ6LISWKV627K/"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-7210"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/python/cpython/issues/149018"
    },
    {
      "type": "FIX",
      "url": "https://github.com/python/cpython/commit/24b8f12544468e4cedf5bfbe25442fcd495391e4"
    },
    {
      "type": "FIX",
      "url": "https://github.com/python/cpython/commit/3573b3b1ecbd99030a0b18658e1bfece771b2566"
    },
    {
      "type": "FIX",
      "url": "https://github.com/python/cpython/commit/eeea765cb9d8f1fc3d8918b272ac3c477983f27a"
    },
    {
      "type": "FIX",
      "url": "https://github.com/python/cpython/commit/fc9b11ff49cbc82e6f917d07a61517a2b5f3145f"
    },
    {
      "type": "FIX",
      "url": "https://github.com/python/cpython/pull/149023"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/python/cpython"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "The expat and elementtree parsers use insufficient entropy for XML hash-flooding protection"
}