CVE-2026-7210 in Libexpat Project Libexpat and 1 more product
`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.
Affects 2 products from 2 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Libexpat Project | Libexpat | — |
| Python | Python | 3.15.0 < 3.15.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2026-7210 |
|---|---|
| BreachSpider ID | BS-2026-GLOBAL-154669-C |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Published | 2026-05-11 |
| Last modified | 2026-10-26 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-331: CWE-331
Related attack patterns (CAPEC)
CAPEC-59 Session Credential Falsification through Prediction via CWE-331
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2026-7210 affects the xml.parsers.expat and xml.etree.ElementTree modules due to insufficient entropy in Expat hash-flooding protection, allowing crafted XML documents to trigger hash flooding.
An attacker can craft a malicious XML document that, when parsed by the affected modules, triggers hash flooding, leading to a denial of service or potential memory exhaustion.
Questions
What is CVE-2026-7210?
CVE-2026-7210 affects the xml.parsers.expat and xml.etree.ElementTree modules due to insufficient entropy in Expat hash-flooding protection, allowing crafted XML documents to trigger hash flooding.
What is the CVSS score for CVE-2026-7210?
CVE-2026-7210 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. EPSS: 1.4%.
Is CVE-2026-7210 actively exploited?
No confirmed active exploitation of CVE-2026-7210 as of 2026-11-03.
How do I remediate CVE-2026-7210?
Priority: IMMEDIATE. Advisory: https://mail.python.org/archives/list/[email protected]/thread/PNY5OMBDPM2FRUZTWFFPJ6LISWKV627K/
What systems are affected by CVE-2026-7210?
CVE-2026-7210 affects Libexpat Project Libexpat; Python Python.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Libexpat Project","product":"Libexpat","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-26.