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.
EPSS: 0.007 (49.7th percentile) — read the EPSS interpretation.
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.
Affected products
- Python — versions 3.15.0
- Python Software Foundation Cpython — versions 0, 3.11.0, 3.12.0
Weakness classification (CWE)
References
- cna@python.org (Patch, patch, Issue Tracking)
- cna@python.org (issue-tracking, Patch, Issue Tracking)
- cna@python.org (Patch, patch)
- cna@python.org (Patch, patch)
- cna@python.org (Patch, patch)
- cna@python.org (patch)
- cna@python.org (patch)
- cna@python.org (patch)
- cna@python.org (patch)
- cna@python.org (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.