Python Software Foundation CPython
The expat and elementtree parsers use insufficient entropy for XML hash-flooding protection
`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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by NVD · CWE-331
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
Python Software Foundation CPython
- < 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.0b2
Fixed in 3.10.22, 3.11.16, 3.12.14, 3.13.14, 3.14.6, 3.15.0b2
Mitigation
Upgrade CPython to 3.10.22 or 3.11.16 or 3.12.14 or 3.13.14 or 3.14.6 or 3.15.0b2 or later.
References
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.