CVE-2025-12084: Quadratic complexity in node ID cache clearing
Vulnerability summary
CVE-2025-12084 is a medium (CVSS 6.3) Inefficient Algorithmic Complexity vulnerability in python software foundation cpython. EPSS estimates a 0.86% chance of exploitation in the next 30 days, higher than 58.4% 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 44 · Related 31Timeline
- 03-12-2025PublishedVulnerability first disclosed.
- 03-03-2026Last modifiedVulnerability information updated.
Description
When building nested elements using xml.dom.minidom methods such as appendChild() that have a dependency on _clear_id_cache() the algorithm is quadratic. Availability can be impacted when building excessively nested documents.
CVSS metrics
9 scores · 7 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated6.3MediumCVSS:4.0/AV:N/AC:L/AT:P/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:L/AT:P/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:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
- NVDNIST6.3MediumCVSS:4.0/AV:N/AC:L/AT:P/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 · UbuntuEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LDiffers
- OSV · DebianEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LDiffers
- NVDNIST5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LDiffers
EPSS trend
Probability
0.86%
Chance of exploitation in the next 30 days
Percentile
58%
Versus all other CVEs
30-day change
Increase +0.06 pp
From 0.80% 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.
Redhat33 products
- platform-python< 0:3.6.8-39.el8_4.8 | < 0:3.6.8-24.el8_2.5 | < 0:3.6.8-72.el8_10 | < 0:3.6.8-51.el8_8.12 | < 0:3.6.8-47.el8_6.10
- platform-python-debug< 0:3.6.8-39.el8_4.8 | < 0:3.6.8-24.el8_2.5 | < 0:3.6.8-72.el8_10 | < 0:3.6.8-51.el8_8.12 | < 0:3.6.8-47.el8_6.10
- platform-python-devel< 0:3.6.8-39.el8_4.8 | < 0:3.6.8-24.el8_2.5 | < 0:3.6.8-72.el8_10 | < 0:3.6.8-51.el8_8.12 | < 0:3.6.8-47.el8_6.10
- python< 0:2.7.5-94.el7_9.2
- python-debug< 0:2.7.5-94.el7_9.2
Ubuntu14 products
- jythonAll versions (No fix recorded)
- pypy3All versions (No fix recorded)
- python2.7< 2.7.6-8ubuntu0.6+esm29 | < 2.7.12-1ubuntu0~16.04.18+esm19 | < 2.7.17-1~18.04ubuntu1.13+esm14 | < 2.7.18-13ubuntu1.5+esm8
- python3.10< 3.10.12-1~22.04.14
- python3.11< 3.11.0~rc1-1~22.04.1~esm8
Chainguard6 products
- python-3.10< 3.10.19-r4
- python-3.11< 3.11.15-r0
- python-3.12< 3.12.12-r4
- python-3.13< 3.13.11-r2
- python-3.14< 3.14.2-r1
Debian5 products
- jythonAll versions (No fix recorded)
- pypy3All versions (No fix recorded) | < 7.3.21+dfsg-1
- python3.11< 3.11.2-6+deb12u7
- python3.13< 3.13.11-1 | < 3.13.5-2+deb13u1
- python3.14< 3.14.2-1
Wolfi5 products
- python-3.10< 3.10.19-r4
- python-3.11< 3.11.15-r0
- python-3.12< 3.12.12-r4
- python-3.13< 3.13.11-r2
- python-3.14< 3.14.2-r1
Python1 product
- python< 3.13.11 | ≥ 3.14.0, < 3.14.2 | 3.15.0:alpha1 | 3.15.0:alpha2
Python software foundation1 product
- cpython< 3.10.20 | ≥ 3.11.0, < 3.11.15 | ≥ 3.12.0, < 3.12.13 | ≥ 3.13.0, < 3.13.11 | ≥ 3.14.0, < 3.14.2 | ≥ 3.15.0a1, < 3.15.0a3
7 vendors · 65 products
References
53 linksShow all 53 references
- github.com/python/cpythonPACKAGE