CVE-2026-7210
CRITICAL`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.
Published: 5/11/2026Modified: 5/16/2026
References (5)
https://github.com/python/cpython/issues/149018Issue Trackinghttps://github.com/python/cpython/pull/149023Issue TrackingPatchhttps://mail.python.org/archives/list/security-announce@python.org/thread/PNY5OMBDPM2FRUZTWFFPJ6LISWKV627K/Mailing ListThird Party Advisoryhttp://www.openwall.com/lists/oss-security/2026/05/11/13Mailing ListThird Party Advisoryhttp://www.openwall.com/lists/oss-security/2026/05/11/8Mailing ListThird Party Advisory