Back
CVE-2025-12084Quadratic complexity in node ID cache clearing
- 6.3MediumCVSS base score
- 0.86%Exploitation in 30 daysEPSS · top 41% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By PSF
- 42 days later
· 42 days later
Published
- 3 months later
· 3 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| PSFCNA (assigner) | 4.0 | Medium6.3 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N |
| NVDNVD · Modified | 4.0 | Medium6.3 | CVSS: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 |
- EPSS (exploitation in 30 days)
- 0.86% · top 41% of all CVEs (18 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: partial
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.3.
Affected products
Python Software Foundation · CPython
- affected < 3.10.20
- affected 3.11.0 – < 3.11.15
- affected 3.12.0 – < 3.12.13
- affected 3.13.0 – < 3.13.11
- affected 3.14.0 – < 3.14.2
- affected 3.15.0a1 – < 3.15.0a3
References
References14
- https://github.com/python/cpython/pull/142146 (opens in a new tab)patch
- https://github.com/python/cpython/issues/142145 (opens in a new tab)issue-tracking
- https://github.com/python/cpython/commit/08d8e18ad81cd45bc4a27d6da478b51ea49486e4 (opens in a new tab)patch
- https://github.com/python/cpython/commit/027f21e417b26eed4505ac2db101a4352b7c51a0 (opens in a new tab)patch
- https://github.com/python/cpython/commit/ddcd2acd85d891a53e281c773b3093f9db953964 (opens in a new tab)patch
- https://github.com/python/cpython/commit/27648a1818749ef44c420afe6173af6868715437 (opens in a new tab)patch
- https://github.com/python/cpython/commit/8d2d7bb2e754f8649a68ce4116271a4932f76907 (opens in a new tab)patch
- https://github.com/python/cpython/commit/9c9dda6625a2a90d2a06c657eee021d6be19842d (opens in a new tab)patch
- https://github.com/python/cpython/commit/a696ba8b4d42fd632afc9bc88ad830a2e4cceed8 (opens in a new tab)patch
- https://github.com/python/cpython/commit/41f468786762348960486c166833a218a0a436af (opens in a new tab)patch
- https://github.com/python/cpython/commit/57937a8e5e293f0dcba5115f7b7a11b1e0c9a273 (opens in a new tab)patch
- https://github.com/python/cpython/commit/e91c11449cad34bac3ea55ee09ca557691d92b53 (opens in a new tab)patch
- https://github.com/python/cpython/commit/a46c10ec9d4050ab67b8a932e0859a2ea60c3cb8 (opens in a new tab)patch
- https://github.com/python/cpython/commit/c97e87593063d84a2bd9fe7068b30eb44de23dc0 (opens in a new tab)patch
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-201088 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-12084)Record last updated .