CVE-2026-7210 MEDIUM

CVE-2026-7210: The expat and elementtree parsers use insufficient entropy for XML hash-flooding protection

Vendor Python Software Foundation
Product CPython
Weakness CWE-331
Published May 11, 2026
Last update June 10, 2026

CVSS base score

6.3/10
Attack vector Network
Attack complexity High
Privileges required None
User interaction None
Confidentiality
Integrity

CVSS vector

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

What the vulnerability does

01Description

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

Key dates

02Disclosure timeline

May 11, 2026 CVE published
June 10, 2026 Record updated