{"schema_version":"1.9.0","id":"CVE-2025-12084","published":"2025-12-03T18:55:32.222Z","modified":"2026-08-12T03:51:34.261031016Z","aliases":["BIT-libpython-2025-12084","BIT-python-2025-12084","BIT-python-min-2025-12084","PSF-2025-16"],"related":["ALSA-2026:0123","ALSA-2026:1374","ALSA-2026:1408","ALSA-2026:1410","ALSA-2026:1478","ALSA-2026:1631","ALSA-2026:1828","CGA-w33q-f28h-3vj7","SUSE-SU-2025:4522-1","SUSE-SU-2025:4538-1","SUSE-SU-2025:4539-1","SUSE-SU-2026:0024-1","SUSE-SU-2026:0025-1","SUSE-SU-2026:0027-1","SUSE-SU-2026:0130-1","SUSE-SU-2026:0133-1","SUSE-SU-2026:0268-1","SUSE-SU-2026:0299-1","SUSE-SU-2026:0314-1","SUSE-SU-2026:1062-1","SUSE-SU-2026:1107-1","SUSE-SU-2026:1117-1","SUSE-SU-2026:1349-1","SUSE-SU-2026:20047-1","SUSE-SU-2026:20125-1","SUSE-SU-2026:20154-1","SUSE-SU-2026:20374-1","SUSE-SU-2026:20768-1","SUSE-SU-2026:20796-1","openSUSE-SU-2025:15839-1","openSUSE-SU-2025:15840-1","openSUSE-SU-2025:15846-1","openSUSE-SU-2025:15849-1","openSUSE-SU-2025:15850-1","openSUSE-SU-2025:15851-1","openSUSE-SU-2026:10011-1","openSUSE-SU-2026:20081-1"],"summary":"Quadratic complexity in node ID cache clearing","details":"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":[{"ranges":[{"type":"GIT","repo":"https://github.com/python/cpython","events":[{"introduced":"0"},{"fixed":"627894459a84be3488a1789919679c997056a03c"},{"introduced":"ebf955df7a89ed0c7968f79faec1de49f61ed7cb"},{"fixed":"df793163d5821791d4e7caf88885a2c11a107986"},{"fixed":"027f21e417b26eed4505ac2db101a4352b7c51a0"},{"fixed":"08d8e18ad81cd45bc4a27d6da478b51ea49486e4"},{"fixed":"27648a1818749ef44c420afe6173af6868715437"},{"fixed":"41f468786762348960486c166833a218a0a436af"},{"fixed":"57937a8e5e293f0dcba5115f7b7a11b1e0c9a273"},{"fixed":"8d2d7bb2e754f8649a68ce4116271a4932f76907"},{"fixed":"9c9dda6625a2a90d2a06c657eee021d6be19842d"},{"fixed":"a46c10ec9d4050ab67b8a932e0859a2ea60c3cb8"},{"fixed":"a696ba8b4d42fd632afc9bc88ad830a2e4cceed8"},{"fixed":"c97e87593063d84a2bd9fe7068b30eb44de23dc0"},{"fixed":"ddcd2acd85d891a53e281c773b3093f9db953964"},{"fixed":"e91c11449cad34bac3ea55ee09ca557691d92b53"}],"database_specific":{"cpe":"cpe:2.3:a:python:python:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"3.13.11"},{"introduced":"3.14.0"},{"fixed":"3.14.2"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["v3.15.0a3","v3.14.2","v3.13.11","v3.13.10","v3.14.1","v3.15.0a2","v3.15.0a1","v3.13.8","v3.11.14","v3.10.19","v3.12.12","v3.14.0","v3.13.7","v3.13.6","v3.13.5","v3.13.4","v3.11.13","v3.10.18","v3.12.11","v3.14.0b1","v3.13.3","v3.11.12","v3.12.10","v3.14.0a7","v3.10.17","v3.14.0a6","v3.14.0a5","v3.13.2","v3.12.9","v3.14.0a4","v3.14.0a3","v3.13.1","v3.12.8","v3.10.16","v3.11.11","v3.14.0a2","v3.14.0a1","v3.13.0","v3.13.0rc3","v3.12.7","v3.11.10","v3.10.15","v3.13.0rc2","v3.12.6","v3.12.5","v3.13.0rc1","v3.13.0b4","v3.13.0b3","v3.12.4","v3.13.0b2","v3.13.0b1","v3.13.0a6","v3.12.3","v3.11.9","v3.10.14","v3.13.0a5","v3.13.0a4","v3.12.2","v3.11.8","v3.13.0a3","v3.12.1","v3.11.7","v3.13.0a2","v3.13.0a1","v3.11.6","v3.12.0","v3.12.0rc3","v3.12.0rc2","v3.11.5","v3.10.13","v3.12.0rc1","v3.12.0b4","v3.12.0b3","v3.11.4","v3.10.12","v3.12.0b2","v3.12.0b1","v3.10.11","v3.11.3","v3.12.0a7","v3.12.0a6","v3.10.10","v3.11.2","v3.12.0a5","v3.12.0a4","v3.12.0a3","v3.10.9","v3.11.1","v3.12.0a2","v3.12.0a1","v3.11.0rc2","v3.10.8","v3.10.7","v3.11.0rc1","v3.10.6","v3.11.0b5","v3.11.0b4","v3.10.5","v3.11.0b3","v3.11.0b2","v3.11.0b1","v3.11.0a7","v3.10.4","v3.10.3","v3.11.0a6","v3.11.0a5","v3.11.0a4","v3.10.2","v3.11.0a3","v3.10.1","v3.10.0rc2","v3.10.0rc1","v3.10.0b4","v3.10.0b3","v3.10.0b2","v3.10.0b1","v3.10.0a7","v3.10.0a1","v3.9.0a2","v3.7.0a2","v3.6.0b1","v3.6.0a3","v3.5.0b1","v3.5.0a4","v3.5.0a3","v3.5.0a2","v3.5.0a1","v3.4.0b3","v3.4.0b2","v3.4.0b1","v3.4.0a4","v3.4.0a3","v3.4.0a2","v3.4.0a1","v3.3.0rc3","v3.3.0rc2","v3.3.0rc1","v3.3.0b2","v3.3.0b1","v3.3.0a4","v3.3.0a3","v3.3.0a2","v3.2rc3","v3.2rc2","v3.2rc1","v3.2b2","v3.2b1","v3.2a4","v3.2a3","v3.2a2","v3.2a1","v3.1","v3.1rc2","v3.1rc1","v3.1b1","v3.1a2","v3.1a1","v3.0rc3","v3.0rc2","v3.0rc1","v3.0b3","v3.0b2","v3.0b1","v3.0a5","v3.0a4","v3.0a3","v3.0a2","v3.0a1","v2.4","v2.4c1","v2.4b2","v2.4b1","v2.4a3","v2.4a2","v2.4a1","v2.3c2","v2.3c1","v2.2a3","v2.1","v2.1c2","v2.1c1","v2.1b2","v2.1b1","v2.1a2","v2.1a1","v2.0","v2.0c1","v2.0b2","v2.0b1","v1.6a2","v1.6a1","v1.5.2","v1.5.2c1","v1.5.2b2","v1.5.2b1","v1.5.2a2","v1.5.2a1","v1.5.1","v1.5","v1.5b2","v1.5b1","v1.5a4","v1.5a3","v1.5a2","v1.5a1","v1.4","v1.4b3","v1.4b2","v1.4b1","v1.3","v1.3b1","v1.2","v1.2b4","v1.2b3","v1.2b2","v1.2b1","v1.1.1","v1.1","v1.0.2","v1.0.1","v0.9.9","v0.9.8"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-12084.json"}}],"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/12xxx/CVE-2025-12084.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-12084"},{"type":"REPORT","url":"https://github.com/python/cpython/issues/142145"},{"type":"FIX","url":"https://github.com/python/cpython/commit/027f21e417b26eed4505ac2db101a4352b7c51a0"},{"type":"FIX","url":"https://github.com/python/cpython/commit/08d8e18ad81cd45bc4a27d6da478b51ea49486e4"},{"type":"FIX","url":"https://github.com/python/cpython/commit/27648a1818749ef44c420afe6173af6868715437"},{"type":"FIX","url":"https://github.com/python/cpython/commit/41f468786762348960486c166833a218a0a436af"},{"type":"FIX","url":"https://github.com/python/cpython/commit/57937a8e5e293f0dcba5115f7b7a11b1e0c9a273"},{"type":"FIX","url":"https://github.com/python/cpython/commit/8d2d7bb2e754f8649a68ce4116271a4932f76907"},{"type":"FIX","url":"https://github.com/python/cpython/commit/9c9dda6625a2a90d2a06c657eee021d6be19842d"},{"type":"FIX","url":"https://github.com/python/cpython/commit/a46c10ec9d4050ab67b8a932e0859a2ea60c3cb8"},{"type":"FIX","url":"https://github.com/python/cpython/commit/a696ba8b4d42fd632afc9bc88ad830a2e4cceed8"},{"type":"FIX","url":"https://github.com/python/cpython/commit/c97e87593063d84a2bd9fe7068b30eb44de23dc0"},{"type":"FIX","url":"https://github.com/python/cpython/commit/ddcd2acd85d891a53e281c773b3093f9db953964"},{"type":"FIX","url":"https://github.com/python/cpython/commit/e91c11449cad34bac3ea55ee09ca557691d92b53"},{"type":"FIX","url":"https://github.com/python/cpython/pull/142146"},{"type":"PACKAGE","url":"https://github.com/python/cpython"}],"database_specific":{"cna_assigner":"PSF","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/12xxx/CVE-2025-12084.json"},"severity":[{"type":"CVSS_V4","score":"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"}]}