Medium severity · published Dec 3, 2025
CVE-2025-12084
Quadratic complexity in node ID cache clearing
5.3
CVSS
0.8%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
Low
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.8% · higher than 56% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CP
CPython · Python Software Foundation
before 3.10.20; 3.11.0 before 3.11.15; 3.12.0 before 3.12.13; 3.13.0 before 3.13.11; 3.14.0 before 3.14.2; 3.15.0a1 before 3.15.0a3 · source: vendor
PY
Python · Python
before 3.13.11; 3.14.0 before 3.14.2; 3.15.0; 3.15.0 · source: NVD