Python XML DOM minidom quadratic appendChild CVE-2025-12084
CVE-2025-12084 Published on December 3, 2025

Quadratic complexity in node ID cache clearing
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.

NVD

Vulnerability Analysis

CVE-2025-12084 is exploitable with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality and integrity and availability.

Attack Vector:
NETWORK
Attack Complexity:
LOW
Privileges Required:
NONE
User Interaction:
NONE

Weakness Type

Inefficient Algorithmic Complexity

An algorithm in a product has an inefficient worst-case computational complexity that may be detrimental to system performance and can be triggered by an attacker, typically using crafted manipulations that ensure that the worst case is being reached.


Products Associated with CVE-2025-12084

stack.watch emails you whenever new vulnerabilities are published in Python or Canonical Ubuntu Linux. Just hit a watch button to start following.

 
 

Affected Versions

Python Software Foundation CPython:

Exploit Probability

EPSS
0.78%
Percentile
52.54%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.