Quadratic Algorithm Vulnerability in Python's XML DOM Processing
CVE-2025-12084
What is CVE-2025-12084?
The vulnerability arises in Python's xml.dom.minidom methods, specifically related to the appendChild() function, which relies on the _clear_id_cache() method. The algorithm exhibits quadratic behavior when creating excessively nested elements, potentially leading to performance degradation and affecting system availability. Users and developers dealing with complex XML structures should be aware of this issue and monitor their applications for any impacts due to deeply nested document structures.

Human OS v1.0:
Ageing Is an Unpatched Zero-Day Vulnerability.
Remediate biological technical debt. Prime Ageing uses 95% high-purity SIRT6 activation to maintain genomic integrity and bolster systemic resilience.
Affected Version(s)
CPython 0 < 3.13.11
CPython 3.14.0 < 3.14.2
CPython 3.15.0a1 < 3.15.0a3
References
CVSS V4
Timeline
Vulnerability published
Vulnerability Reserved
