Skip to main content
← All vulnerabilities
CVE-2026-7210BIT-LIBPYTHON-2026-7210BIT-PYTHON-2026-7210BIT-PYTHON-MIN-2026-7210PSF-2026-23

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.10.22, 3.11.16, 3.12.14, 3.13.14, 3.14.6, and 1 more
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Python Software Foundation CPython

    fixed in 3.10.22; From 3.11.0 · fixed in 3.11.16; From 3.12.0 · fixed in 3.12.14; From 3.13.0 · fixed in 3.13.14; From 3.14.0 · fixed in 3.14.6; From 3.15.0a1 · fixed in 3.15.0b2

  • libpythonBitnami

    fixed in 3.10.22; From 3.11.0 · fixed in 3.11.16; From 3.12.0 · fixed in 3.12.14; From 3.13.0 · fixed in 3.13.14; From 3.14.0 · fixed in 3.14.6

  • pythonBitnami

    fixed in 3.10.22; From 3.11.0 · fixed in 3.11.16; From 3.12.0 · fixed in 3.12.14; From 3.13.0 · fixed in 3.13.14; From 3.14.0 · fixed in 3.14.6

  • python-minBitnami

    fixed in 3.10.22; From 3.11.0 · fixed in 3.11.16; From 3.12.0 · fixed in 3.12.14; From 3.13.0 · fixed in 3.13.14; From 3.14.0 · fixed in 3.14.6

References 10

mail.python.org

GitHub · python/cpython