CVE-2026-7210
`xml.parsers.expat` and `xml.etree.ElementTree` use insufficient …
`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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/python/cpython/issues/149018
- github.com/python/cpython/pull/149023
- mail.python.org/archives/list/[email protected]/thread/PNY5OMBDPM2FRUZTWFFPJ6LI
- www.openwall.com/lists/oss-security/2026/05/11/8
- www.openwall.com/lists/oss-security/2026/05/11/13
- github.com/python/cpython/commit/24b8f12544468e4cedf5bfbe25442fcd495391e4
- github.com/python/cpython/commit/3573b3b1ecbd99030a0b18658e1bfece771b2566
- github.com/python/cpython/commit/eeea765cb9d8f1fc3d8918b272ac3c477983f27a
- nvd.nist.gov/vuln/detail/CVE-2026-7210
- cve.org/CVERecord?id=CVE-2026-7210
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.