Vulnerability in Python
CVE-2025-12084
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS: 0.008 (54.8th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 55th percentile — 54.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.008 · newest: 0.008 · change: 0.000
Affected products
- Python — versions 3.15.0
- Python Software Foundation Cpython — versions 0, 3.11.0, 3.12.0
Weakness classification (CWE)
References
- github.com/python/cpython/pull/142146 (Patch, patch, Issue Tracking)
- github.com/python/cpython/issues/142145 (issue-tracking, Patch, Issue Tracking)
- github.com/python/cpython/commit/08d8e18ad81cd45bc4a27d6da478b51ea49486e4 (Patch, patch)
- github.com/python/cpython/commit/027f21e417b26eed4505ac2db101a4352b7c51a0 (Patch, patch)
- github.com/python/cpython/commit/ddcd2acd85d891a53e281c773b3093f9db953964 (Patch, patch)
- github.com/python/cpython/commit/27648a1818749ef44c420afe6173af6868715437 (patch)
- github.com/python/cpython/commit/8d2d7bb2e754f8649a68ce4116271a4932f76907 (patch)
- github.com/python/cpython/commit/9c9dda6625a2a90d2a06c657eee021d6be19842d (patch)
- github.com/python/cpython/commit/a696ba8b4d42fd632afc9bc88ad830a2e4cceed8 (patch)
- github.com/python/cpython/commit/41f468786762348960486c166833a218a0a436af (patch)
Frequently asked questions
- What is CVE-2025-12084?
- CVE-2025-12084 is a medium-severity vulnerability in Python, classified under Inefficient Algorithmic Complexity. CVSS score: 5.3/10. Published 2025-12-03.
- How severe is CVE-2025-12084?
- Medium severity. CVSS v3 base score is 5.3 out of 10.