CVE-2026-7210: The expat and elementtree parsers use insufficient entropy for XML hash-flooding protection
Vulnerability summary
CVE-2026-7210 is a high (CVSS 7.5) Insufficient Entropy vulnerability in python software foundation cpython. EPSS estimates a 0.67% chance of exploitation in the next 30 days, higher than 52% of scored vulnerabilities.
Not severe (CVSS 6.3, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 32 · Related 29Timeline
- 11-05-2026PublishedVulnerability first disclosed.
- 02-10-2026Last modifiedVulnerability information updated.
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
10 scores · 8 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated6.3MediumCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
- OSV · WolfiEcosystem advisory · calculated6.3MediumCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
- OSV · ChainguardEcosystem advisory · calculated6.3MediumCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
- NVDNIST6.3MediumCVSS: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
- OSV · AlpineEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · Red hatEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LDiffers
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.67%
Chance of exploitation in the next 30 days
Percentile
52%
Versus all other CVEs
30-day change
Decrease -0.68 pp
From 1.35% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu12 products
- python2.7All versions (No fix recorded) | < 2.7.12-1ubuntu0~16.04.18+esm20
- python3.10All versions (No fix recorded)
- python3.11All versions (No fix recorded)
- python3.12All versions (No fix recorded)
- python3.13All versions (No fix recorded)
Redhat7 products
- python3.10< 0:3.10.21-1.4.hum1
- python3.10-debug< 0:3.10.21-1.4.hum1
- python3.10-devel< 0:3.10.21-1.4.hum1
- python3.10-idle< 0:3.10.21-1.4.hum1
- python3.10-libs< 0:3.10.21-1.4.hum1
Chainguard5 products
- python-3.10< 3.10.22-r1
- python-3.11< 3.11.16-r7
- python-3.12< 3.12.14-r8
- python-3.13< 3.13.14-r0
- python-3.14< 3.14.6-r1
Wolfi5 products
- python-3.10< 3.10.22-r1
- python-3.11< 3.11.16-r7
- python-3.12< 3.12.14-r8
- python-3.13< 3.13.14-r0
- python-3.14< 3.14.6-r1
Debian3 products
- python3.11All versions (No fix recorded)
- python3.13< 3.13.14-1 | All versions (No fix recorded)
- python3.14< 3.14.6-1
Alpine1 product
- python3< 3.12.14-r0 | < 3.14.7-r0
Python1 product
- python< 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
Python software foundation1 product
- 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
8 vendors · 35 products
References
26 links- mail.python.org/archives/list/security-announce@python.org/thread/PNY5OMBDPM2FRUZTWFFPJ6LISWKV627K/Vendor AdvisoryARTICLEAdvisoryMailing ListThird Party Advisory
Show all 26 references
- images.redhat.comARTICLE
- github.com/python/cpythonPACKAGE