CVE-2026-7210
Vulnerability Summary
Timeline
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.
CVSS Metrics
- v4.0•MEDIUM•Score: 6.3CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
- v4.0•MEDIUM•Score: 6.3CVSS: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
- v3.1•HIGH•Score: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS Trends
Current EPSS score: 0.67%• Percentile: 51%
Techniques & Countermeasures
- CWE-331•Insufficient Entropy
The product uses an algorithm or scheme that produces insufficient entropy, leaving patterns or clusters of values that are more likely to occur than others.
Affected Systems
- alpine•python3
< 3.12.14-r0 | < 3.12.14-r0 | < 3.12.14-r0 | < 3.14.7-r0
- chainguard•python-3.10
all
- chainguard•python-3.11
all | < 3.11.16-r7
- chainguard•python-3.12
all | < 3.12.14-r8
- chainguard•python-3.13
< 3.13.14-r0
- chainguard•python-3.14
< 3.14.6-r1
- wolfi•python-3.10
all
- wolfi•python-3.11
all | < 3.11.16-r7
- wolfi•python-3.12
all | < 3.12.14-r8
- wolfi•python-3.13
< 3.13.14-r0
- wolfi•python-3.14
< 3.14.6-r1
- debian•python2.7
all
- debian•python3.11
all
- debian•python3.13
all | < 3.13.14-1
- debian•python3.14
< 3.14.6-1
- debian•python3.9
all
- ubuntu•python2.7
all
- ubuntu•python3.10
all
- ubuntu•python3.11
all | all
- ubuntu•python3.12
all
- ubuntu•python3.13
all
- ubuntu•python3.14
all | all
- ubuntu•python3.4
all
- ubuntu•python3.5
all
- ubuntu•python3.6
all
- ubuntu•python3.7
all
- ubuntu•python3.8
all
- ubuntu•python3.9
all
- libexpat_project•libexpat
< 2.8.0
- python software foundation•cpython
< 3.15.0 | < 3.13.14 | < 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
- python•python
< 3.15.0 | < 3.13.14 | ≥ 3.14.0, < 3.14.6 | 3.15.0:alpha1 | 3.15.0:alpha2 | 3.15.0:alpha3 | 3.15.0:alpha4 | 3.15.0:alpha5 | 3.15.0:alpha6 | 3.15.0:alpha7 | 3.15.0:alpha8 | 3.15.0:beta1
References (19)
- https://mail.python.org/archives/list/security-announce@python.org/thread/PNY5OMBDPM2FRUZTWFFPJ6LISWKV627K/
- https://github.com/python/cpython/pull/149023
- https://github.com/python/cpython/issues/149018
- http://www.openwall.com/lists/oss-security/2026/05/11/8
- http://www.openwall.com/lists/oss-security/2026/05/11/13
- https://github.com/python/cpython/commit/24b8f12544468e4cedf5bfbe25442fcd495391e4
- https://github.com/python/cpython/commit/3573b3b1ecbd99030a0b18658e1bfece771b2566
- https://github.com/python/cpython/commit/eeea765cb9d8f1fc3d8918b272ac3c477983f27a
- https://github.com/python/cpython/commit/fc9b11ff49cbc82e6f917d07a61517a2b5f3145f
- https://github.com/python/cpython/commit/e37df2a6a71d6538698e2d3188a7c345b827640b
- https://github.com/python/cpython/commit/cbaecf9f16da611a646d507c1cbca265c588fc56
- https://security.alpinelinux.org/vuln/CVE-2026-7210
- https://ubuntu.com/security/CVE-2026-7210
- https://www.cve.org/CVERecord?id=CVE-2026-7210
- https://security-tracker.debian.org/tracker/CVE-2026-7210
- https://github.com/python/cpython/commit/ea70712d1a8508e14e9677d44f838dab04dc0286
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/7xxx/CVE-2026-7210.json
- https://nvd.nist.gov/vuln/detail/CVE-2026-7210
- https://github.com/python/cpython