High · published May 11, 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.
| Product | Versions | Fixed in |
|---|---|---|
| python/python | < 3.13.14 | 3.13.14 |
| python/python | ≥ 3.14.0, < 3.14.6 | 3.14.6 |
| python/python | all versions | — |
| python/python | all versions | — |
| python/python | all versions | — |
| python/python | all versions | — |
| python/python | all versions | — |
| python/python | all versions | — |
| python/python | all versions | — |
| python/python | all versions | — |
| python/python | all versions | — |