{"id":"CVE-2025-12084","published":"2025-12-03T18:55:32Z","modified":"2026-03-03T14:41:38Z","title":"Quadratic complexity in node ID cache clearing","vendor":"Python Software Foundation","product":"CPython","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01537,"percentile":0.75167,"provenance":"source"},"cwes":[{"id":"CWE-407","name":"Inefficient Algorithmic Complexity"}],"references":[{"url":"https://github.com/python/cpython/pull/142146","tags":["patch"]},{"url":"https://github.com/python/cpython/issues/142145","tags":["issue-tracking"]},{"url":"https://github.com/python/cpython/commit/08d8e18ad81cd45bc4a27d6da478b51ea49486e4","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/027f21e417b26eed4505ac2db101a4352b7c51a0","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/ddcd2acd85d891a53e281c773b3093f9db953964","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/27648a1818749ef44c420afe6173af6868715437","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/8d2d7bb2e754f8649a68ce4116271a4932f76907","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/9c9dda6625a2a90d2a06c657eee021d6be19842d","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/a696ba8b4d42fd632afc9bc88ad830a2e4cceed8","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/41f468786762348960486c166833a218a0a436af","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/57937a8e5e293f0dcba5115f7b7a11b1e0c9a273","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/e91c11449cad34bac3ea55ee09ca557691d92b53","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/a46c10ec9d4050ab67b8a932e0859a2ea60c3cb8","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/c97e87593063d84a2bd9fe7068b30eb44de23dc0","tags":["patch"]}],"priority":{"score":19.4,"factors":[{"name":"EPSS percentile","points":15.03},{"name":"CVSS severity","points":4.41}]},"vendorSlug":"python-software-foundation","affectedVersions":[{"vendor":"Python Software Foundation","product":"CPython","versions":["< 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.0a3"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-12-03T19:13:23.548683Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-201088","exploited":false,"provenance":"source"}}