Back
CVE-2026-7210
The expat and elementtree parsers use insufficient entropy for XML hash-flooding protection
Medium6.3EPSS 0.67%
- Published
- Updated
- Reserved
- Assigned by
- PSF
Description
`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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| PSFCNA (assigner) | 4.0 | Medium6.3 | 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 |
| NVDNVD · Modified | 4.0 | Medium6.3 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
- EPSS (exploitation in 30 days)
- 0.67% · top 48% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.3.
Weakness
Affected products
Python Software Foundation · CPython
- affected < 3.10.22
- affected 3.11.0 – < 3.11.16
- affected 3.12.0 – < 3.12.14
- affected 3.13.0 – < 3.13.14
- affected 3.14.0 – < 3.14.6
- affected 3.15.0a1 – < 3.15.0b2
References (12)
- https://mail.python.org/archives/list/[email protected]/thread/PNY5OMBDPM2FRUZTWFFPJ6LISWKV627K/ (opens in a new tab)vendor-advisory
- https://github.com/python/cpython/pull/149023 (opens in a new tab)patch
- https://github.com/python/cpython/issues/149018 (opens in a new tab)issue-tracking
- https://github.com/python/cpython/commit/24b8f12544468e4cedf5bfbe25442fcd495391e4 (opens in a new tab)patch
- https://github.com/python/cpython/commit/3573b3b1ecbd99030a0b18658e1bfece771b2566 (opens in a new tab)patch
- https://github.com/python/cpython/commit/eeea765cb9d8f1fc3d8918b272ac3c477983f27a (opens in a new tab)patch
- https://github.com/python/cpython/commit/fc9b11ff49cbc82e6f917d07a61517a2b5f3145f (opens in a new tab)patch
- https://github.com/python/cpython/commit/e37df2a6a71d6538698e2d3188a7c345b827640b (opens in a new tab)patch
- https://github.com/python/cpython/commit/cbaecf9f16da611a646d507c1cbca265c588fc56 (opens in a new tab)patch
- https://github.com/python/cpython/commit/ea70712d1a8508e14e9677d44f838dab04dc0286 (opens in a new tab)patch
- http://www.openwall.com/lists/oss-security/2026/05/11/8 (opens in a new tab)
- http://www.openwall.com/lists/oss-security/2026/05/11/13 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2026-7210)Record last updated .