CVE-2025-12084 — Inefficient Algorithmic Complexity in Software Foundation Cpython
Severity
6.3MEDIUMNVD
OSV5.7
EPSS
0.1%
top 82.03%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedDec 3
Latest updateMar 19
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:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Affected Packages2 packages
Patches
🔴Vulnerability Details
5OSV▶
python3.14, python3.13, python3.12, python3.11, python3.10, python3.9,
python3.8, python3.7, python3.6, python3.5, python3.4 vulnerabilities↗2026-02-05
📋Vendor Advisories
6Red Hat▶
cpython: python: cpython: Quadratic algorithm in xml.dom.minidom leads to denial of service↗2025-12-03