« List of all CVEs

CVE-2026-7210

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

Published: 5/11/2026 Last updated: 5/11/2026 Reserved: 4/27/2026

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

CNA assigner: PSF (28c92f92-d60d-412d-b760-e73465c3df22) Requested by: n/a

Metrics

Version Score Severity Vector String
4.0 6.3 Medium 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

Opam packages affected (4)

conf-expat conf-gtk2 conf-gtk3 ocaml-expat

Products affected (1)

Product Vendor Version
CPython Python Software Foundation 8.0

References (5)

Credits (2)