Skip to content
CVE PROGRAM SOURCE RECORD6.3 Medium

CVE-2026-7210

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

Description

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Python Software Foundation CPython

Default version status: unaffected

  • 0 to < 3.10.22affected
  • 3.11.0 to < 3.11.16affected
  • 3.12.0 to < 3.12.14affected
  • 3.13.0 to < 3.13.14affected
  • 3.14.0 to < 3.14.6affected
  • 3.15.0a1 to < 3.15.0b2affected

References