CVE-2025-12084

published 3 Dec 2025 · updated 16 Nov 2026

Quadratic complexity in node ID cache clearing

6.3MediumCVSS 6.3EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 3.10.20, 3.11.15, 3.12.13 and 3 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Python Software Foundation<3.10.20, >=3.11.0 <3.11.15, >=3.12.0 <3.12.13, >=3.13.0 <3.13.11, >=3.14.0 <3.14.2, >=3.15.0a1 <3.15.0a33.10.20, 3.11.15, 3.12.13, 3.13.11, 3.14.2, 3.15.0a3

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-12084 severity on Zeptric[![CVE-2025-12084](https://zeptric.io/badge/cve/CVE-2025-12084.svg)](https://zeptric.io/cve/CVE-2025-12084)