CVE-2026-7210

published 11 May 2026 · updated 28 Oct 2026

The expat and elementtree parsers use insufficient entropy for XML hash-flooding protection

6.3MediumCVSS 6.3EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 3.10.22, 3.11.16, 3.12.14 and 3 more.

`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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Python Software Foundation<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.0b23.10.22, 3.11.16, 3.12.14, 3.13.14, 3.14.6, 3.15.0b2

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-7210 severity on Zeptric[![CVE-2026-7210](https://zeptric.io/badge/cve/CVE-2026-7210.svg)](https://zeptric.io/cve/CVE-2026-7210)