CVE-2025-12084

MEDIUM

Python < 3.13.11 - Denial of Service via Quadratic Complexity in xml.dom.minidom

Title source: llm
STIX 2.1

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.

References (14)

Core 14
Core References
Issue Tracking, Patch patch
https://github.com/python/cpython/pull/142146
Issue Tracking, Patch issue-tracking
https://github.com/python/cpython/issues/142145

Scores

CVSS v3 5.3
EPSS 0.0070
EPSS Percentile 48.0%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact partial

Details

CWE
CWE-407
Status published
Products (2)
python/python 3.15.0 alpha1 (2 CPE variants)
python/python < 3.13.11
Published Dec 03, 2025
Tracked Since Feb 18, 2026