CVE-2026-7210
published medium CVSS 4.0 · 6.3The expat and elementtree parsers use insufficient entropy for XML hash-flooding protection
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Python Software Foundation | — | CPython0 to < 3.10.22 · 3.11.0 to < 3.11.16 · 3.12.0 to < 3.12.14 · 3.13.0 to < 3.13.14 · 3.14.0 to < 3.14.6 · 3.15.0a1 to < 3.15.0b2 · Other versions: unaffected | Affected | Not stated | PSF |
| Amazon Linux | AL2 | Release evaluation | No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1774 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1910 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1930 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1931 | Fixed | Not stated | Amazon Linux assessment |
| Alpine Linux | edge | python3 | Fixed | 3.14.7-r0 | Package fix record |
| SUSE / openSUSE | SLE-12-SP5 | libpython2_7-1_0aarch64 | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
Show 99 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1933 | Fixed | Not stated | Amazon Linux assessment |
| Alpine Linux | v3.21 | python3 | Fixed | 3.12.14-r0 | Package fix record |
| Alpine Linux | v3.22 | python3 | Fixed | 3.12.14-r0 | Package fix record |
| Alpine Linux | v3.23 | python3 | Fixed | 3.12.14-r0 | Package fix record |
| Alpine Linux | v3.24 | python3 | Fixed | 3.14.7-r0 | Package fix record |
| SUSE / openSUSE | SLE-12-SP5 | libpython2_7-1_0ppc64le | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython2_7-1_0s390x | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython2_7-1_0x86_64 | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython2_7-1_0-32bits390x | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython2_7-1_0-32bitx86_64 | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_4m1_0aarch64 | Advisory build | 3.4.10-25.188.1 | SUSE-SU-2026:3245-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_4m1_0ppc64le | Advisory build | 3.4.10-25.188.1 | SUSE-SU-2026:3245-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_4m1_0s390x | Advisory build | 3.4.10-25.188.1 | SUSE-SU-2026:3245-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_4m1_0x86_64 | Advisory build | 3.4.10-25.188.1 | SUSE-SU-2026:3245-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_4m1_0-32bits390x | Advisory build | 3.4.10-25.188.1 | SUSE-SU-2026:3245-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_4m1_0-32bitx86_64 | Advisory build | 3.4.10-25.188.1 | SUSE-SU-2026:3245-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_6m1_0aarch64 | Advisory build | 3.6.15-116.1 | SUSE-SU-2026:3855-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_6m1_0aarch64 | Advisory build | 3.6.15-125.1 | SUSE-SU-2026:4743-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_6m1_0ppc64le | Advisory build | 3.6.15-116.1 | SUSE-SU-2026:3855-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_6m1_0ppc64le | Advisory build | 3.6.15-125.1 | SUSE-SU-2026:4743-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_6m1_0s390x | Advisory build | 3.6.15-116.1 | SUSE-SU-2026:3855-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_6m1_0s390x | Advisory build | 3.6.15-125.1 | SUSE-SU-2026:4743-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_6m1_0x86_64 | Advisory build | 3.6.15-116.1 | SUSE-SU-2026:3855-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_6m1_0x86_64 | Advisory build | 3.6.15-125.1 | SUSE-SU-2026:4743-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_6m1_0-32bits390x | Advisory build | 3.6.15-116.1 | SUSE-SU-2026:3855-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_6m1_0-32bits390x | Advisory build | 3.6.15-125.1 | SUSE-SU-2026:4743-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_6m1_0-32bitx86_64 | Advisory build | 3.6.15-116.1 | SUSE-SU-2026:3855-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_6m1_0-32bitx86_64 | Advisory build | 3.6.15-125.1 | SUSE-SU-2026:4743-1 |
| SUSE / openSUSE | SLE-12-SP5 | pythonaarch64 | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | pythonppc64le | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | pythons390x | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | pythonx86_64 | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-32bits390x | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-32bitx86_64 | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-baseaarch64 | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-baseppc64le | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-bases390x | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-basex86_64 | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-base-32bits390x | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-base-32bitx86_64 | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-cursesaarch64 | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-cursesppc64le | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-cursess390x | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-cursesx86_64 | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-demoaarch64 | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-demoppc64le | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-demos390x | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-demox86_64 | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-develaarch64 | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-develppc64le | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-devels390x | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-develx86_64 | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-docnoarch | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-doc-pdfnoarch | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-gdbmaarch64 | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-gdbmppc64le | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-gdbms390x | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-gdbmx86_64 | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-idleaarch64 | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-idleppc64le | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-idles390x | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-idlex86_64 | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-tkaarch64 | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-tkppc64le | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-tks390x | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-tkx86_64 | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-xmlaarch64 | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-xmlppc64le | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-xmls390x | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-xmlx86_64 | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3aarch64 | Advisory build | 3.4.10-25.188.1 | SUSE-SU-2026:3245-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3ppc64le | Advisory build | 3.4.10-25.188.1 | SUSE-SU-2026:3245-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3s390x | Advisory build | 3.4.10-25.188.1 | SUSE-SU-2026:3245-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3x86_64 | Advisory build | 3.4.10-25.188.1 | SUSE-SU-2026:3245-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-baseaarch64 | Advisory build | 3.4.10-25.188.1 | SUSE-SU-2026:3245-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-baseppc64le | Advisory build | 3.4.10-25.188.1 | SUSE-SU-2026:3245-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-bases390x | Advisory build | 3.4.10-25.188.1 | SUSE-SU-2026:3245-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-basex86_64 | Advisory build | 3.4.10-25.188.1 | SUSE-SU-2026:3245-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-cursesaarch64 | Advisory build | 3.4.10-25.188.1 | SUSE-SU-2026:3245-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-cursesppc64le | Advisory build | 3.4.10-25.188.1 | SUSE-SU-2026:3245-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-cursess390x | Advisory build | 3.4.10-25.188.1 | SUSE-SU-2026:3245-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-cursesx86_64 | Advisory build | 3.4.10-25.188.1 | SUSE-SU-2026:3245-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-develaarch64 | Advisory build | 3.4.10-25.188.1 | SUSE-SU-2026:3245-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-develppc64le | Advisory build | 3.4.10-25.188.1 | SUSE-SU-2026:3245-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-devels390x | Advisory build | 3.4.10-25.188.1 | SUSE-SU-2026:3245-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-develx86_64 | Advisory build | 3.4.10-25.188.1 | SUSE-SU-2026:3245-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-tkaarch64 | Advisory build | 3.4.10-25.188.1 | SUSE-SU-2026:3245-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-tkppc64le | Advisory build | 3.4.10-25.188.1 | SUSE-SU-2026:3245-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-tks390x | Advisory build | 3.4.10-25.188.1 | SUSE-SU-2026:3245-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-tkx86_64 | Advisory build | 3.4.10-25.188.1 | SUSE-SU-2026:3245-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36aarch64 | Advisory build | 3.6.15-116.1 | SUSE-SU-2026:3855-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36aarch64 | Advisory build | 3.6.15-125.1 | SUSE-SU-2026:4743-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36ppc64le | Advisory build | 3.6.15-116.1 | SUSE-SU-2026:3855-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36ppc64le | Advisory build | 3.6.15-125.1 | SUSE-SU-2026:4743-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36s390x | Advisory build | 3.6.15-116.1 | SUSE-SU-2026:3855-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36s390x | Advisory build | 3.6.15-125.1 | SUSE-SU-2026:4743-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36x86_64 | Advisory build | 3.6.15-116.1 | SUSE-SU-2026:3855-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36x86_64 | Advisory build | 3.6.15-125.1 | SUSE-SU-2026:4743-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36-baseaarch64 | Advisory build | 3.6.15-116.1 | SUSE-SU-2026:3855-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- PSF · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Python Software Foundation | CPython | 0 to < 3.10.22 (affected · python)3.11.0 to < 3.11.16 (affected · python)3.12.0 to < 3.12.14 (affected · python)3.13.0 to < 3.13.14 (affected · python)3.14.0 to < 3.14.6 (affected · python)3.15.0a1 to < 3.15.0b2 (affected · python)Default: unaffected | PSF · cna |
Weaknesses
1- CWE-331 CWE-331 Insufficient entropy
References
12- http://www.openwall.com/lists/oss-security/2026/05/11/13
- http://www.openwall.com/lists/oss-security/2026/05/11/8
- https://github.com/python/cpython/commit/24b8f12544468e4cedf5bfbe25442fcd495391e4
- https://github.com/python/cpython/commit/3573b3b1ecbd99030a0b18658e1bfece771b2566
- https://github.com/python/cpython/commit/cbaecf9f16da611a646d507c1cbca265c588fc56
- https://github.com/python/cpython/commit/e37df2a6a71d6538698e2d3188a7c345b827640b
- https://github.com/python/cpython/commit/ea70712d1a8508e14e9677d44f838dab04dc0286
- https://github.com/python/cpython/commit/eeea765cb9d8f1fc3d8918b272ac3c477983f27a
- https://github.com/python/cpython/commit/fc9b11ff49cbc82e6f917d07a61517a2b5f3145f
- https://github.com/python/cpython/issues/149018
- https://github.com/python/cpython/pull/149023
- https://mail.python.org/archives/list/[email protected]/thread/PNY5OMBDPM2FRUZTWFFPJ6LISWKV627K/
Provider assertions
3PSF · cna
The expat and elementtree parsers use insufficient entropy for XML hash-flooding protection
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 793f208e1bb135591c5d16e0147aea9fc98518e7b49bc95f4bed8b7dd2253f8d
- Ingested
- 02 Oct 2026, 06:35:31 UTC
- Source record
- Official CVE record