{"id":"CVE-2026-7210","published":"2026-05-11T17:19:09Z","modified":"2026-10-02T00:35:51Z","title":"The expat and elementtree parsers use insufficient entropy for XML hash-flooding protection","vendor":"Python Software Foundation","product":"CPython","tier":"tail","description":{"text":"`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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00672,"percentile":0.5299,"provenance":"source"},"cwes":[{"id":"CWE-331","name":"Insufficient Entropy"}],"references":[{"url":"https://mail.python.org/archives/list/security-announce@python.org/thread/PNY5OMBDPM2FRUZTWFFPJ6LISWKV627K/","tags":["vendor-advisory"]},{"url":"https://github.com/python/cpython/pull/149023","tags":["patch"]},{"url":"https://github.com/python/cpython/issues/149018","tags":["issue-tracking"]},{"url":"https://github.com/python/cpython/commit/24b8f12544468e4cedf5bfbe25442fcd495391e4","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/3573b3b1ecbd99030a0b18658e1bfece771b2566","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/eeea765cb9d8f1fc3d8918b272ac3c477983f27a","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/fc9b11ff49cbc82e6f917d07a61517a2b5f3145f","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/e37df2a6a71d6538698e2d3188a7c345b827640b","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/cbaecf9f16da611a646d507c1cbca265c588fc56","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/ea70712d1a8508e14e9677d44f838dab04dc0286","tags":["patch"]},{"url":"http://www.openwall.com/lists/oss-security/2026/05/11/8","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2026/05/11/13","tags":[]}],"priority":{"score":15.0,"factors":[{"name":"EPSS percentile","points":10.6},{"name":"CVSS severity","points":4.41}]},"vendorSlug":"python-software-foundation","affectedVersions":[{"vendor":"Python Software Foundation","product":"CPython","versions":["< 3.10.22",">= 3.11.0, < 3.11.16",">= 3.12.0, < 3.12.14",">= 3.13.0, < 3.13.14",">= 3.14.0, < 3.14.6",">= 3.15.0a1, < 3.15.0b2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-11T18:53:57.884366Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-29178","exploited":false,"provenance":"source"}}