{"id":"CVE-2025-12084","aliases":["CVE-2025-12084","PSF-2025-16","BIT-LIBPYTHON-2025-12084","BIT-PYTHON-2025-12084","BIT-PYTHON-MIN-2025-12084"],"related":[],"kind":"vulnerability","state":"published","title":"Quadratic complexity in node ID cache clearing","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"Al construir elementos anidados utilizando métodos de xml.dom.minidom como appendChild() que tienen una dependencia de _clear_id_cache(), el algoritmo es cuadrático. La disponibilidad puede verse afectada al construir documentos excesivamente anidados.","source":"nvd"}],"published":"2025-12-03T18:55:32.222Z","modified":"2026-09-08T08:48:18.946Z","severity":{"scorer":"PSF","scheme":"CVSS: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","score":6.3,"rating":"MEDIUM"},"severities":[{"scorer":"PSF","scheme":"CVSS: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","score":6.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-407"],"affected":[{"ranges":[{"type":"python","introduced":"0","fixed":"3.10.20","status":"affected"},{"type":"python","introduced":"3.11.0","fixed":"3.11.15","status":"affected"},{"type":"python","introduced":"3.12.0","fixed":"3.12.13","status":"affected"},{"type":"python","introduced":"3.13.0","fixed":"3.13.11","status":"affected"},{"type":"python","introduced":"3.14.0","fixed":"3.14.2","status":"affected"},{"type":"python","introduced":"3.15.0a1","fixed":"3.15.0a3","status":"affected"}],"vendor":"Python Software Foundation","product":"CPython","repo":"https://github.com/python/cpython","source":"cvelist"},{"ranges":[{"type":"git","introduced":"0","status":"affected","fixed":"08d8e18ad81cd45bc4a27d6da478b51ea49486e4"},{"type":"git","status":"affected","fixed":"027f21e417b26eed4505ac2db101a4352b7c51a0"},{"type":"git","status":"affected","fixed":"ddcd2acd85d891a53e281c773b3093f9db953964"},{"type":"git","status":"affected","fixed":"27648a1818749ef44c420afe6173af6868715437"},{"type":"git","status":"affected","fixed":"8d2d7bb2e754f8649a68ce4116271a4932f76907"},{"type":"git","status":"affected","fixed":"9c9dda6625a2a90d2a06c657eee021d6be19842d"},{"type":"git","status":"affected","fixed":"a696ba8b4d42fd632afc9bc88ad830a2e4cceed8"},{"type":"git","status":"affected","fixed":"41f468786762348960486c166833a218a0a436af"},{"type":"git","status":"affected","fixed":"57937a8e5e293f0dcba5115f7b7a11b1e0c9a273"},{"type":"git","status":"affected","fixed":"e91c11449cad34bac3ea55ee09ca557691d92b53"},{"type":"git","status":"affected","fixed":"a46c10ec9d4050ab67b8a932e0859a2ea60c3cb8"},{"type":"git","status":"affected","fixed":"c97e87593063d84a2bd9fe7068b30eb44de23dc0"}],"repo":"https://github.com/python/cpython","source":"psf"},{"ranges":[{"status":"affected","fixed":"3.13.11"},{"status":"affected","introduced":"3.14.0","fixed":"3.14.2"},{"status":"affected","version":"3.15.0"},{"status":"affected","version":"3.15.0"}],"vendor":"python","product":"python","cpe":"cpe:2.3:a:python:python:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.10.20"},{"type":"semver","introduced":"3.11.0","status":"affected","fixed":"3.11.15"},{"type":"semver","introduced":"3.12.0","status":"affected","fixed":"3.12.13"},{"type":"semver","introduced":"3.13.0","status":"affected","fixed":"3.13.11"},{"type":"semver","introduced":"3.14.0","status":"affected","fixed":"3.14.2"}],"ecosystem":"Bitnami","package":"libpython","purl":"pkg:bitnami/libpython","source":"bitnami"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.10.20"},{"type":"semver","introduced":"3.11.0","status":"affected","fixed":"3.11.15"},{"type":"semver","introduced":"3.12.0","status":"affected","fixed":"3.12.13"},{"type":"semver","introduced":"3.13.0","status":"affected","fixed":"3.13.11"},{"type":"semver","introduced":"3.14.0","status":"affected","fixed":"3.14.2"}],"ecosystem":"Bitnami","package":"python","purl":"pkg:bitnami/python","source":"bitnami"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.10.20"},{"type":"semver","introduced":"3.11.0","status":"affected","fixed":"3.11.15"},{"type":"semver","introduced":"3.12.0","status":"affected","fixed":"3.12.13"},{"type":"semver","introduced":"3.13.0","status":"affected","fixed":"3.13.11"},{"type":"semver","introduced":"3.14.0","status":"affected","fixed":"3.14.2"}],"ecosystem":"Bitnami","package":"python-min","purl":"pkg:bitnami/python-min","source":"bitnami"}],"references":[{"url":"https://github.com/python/cpython/pull/142146","tags":["fix","issue-tracking","patch","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/issues/142145","tags":["fix","issue-tracking","patch","report"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/08d8e18ad81cd45bc4a27d6da478b51ea49486e4","tags":["fix","patch"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/027f21e417b26eed4505ac2db101a4352b7c51a0","tags":["fix","patch"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/ddcd2acd85d891a53e281c773b3093f9db953964","tags":["fix","patch"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/27648a1818749ef44c420afe6173af6868715437","tags":["fix","patch","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/8d2d7bb2e754f8649a68ce4116271a4932f76907","tags":["fix","patch","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/9c9dda6625a2a90d2a06c657eee021d6be19842d","tags":["fix","patch","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/a696ba8b4d42fd632afc9bc88ad830a2e4cceed8","tags":["fix","patch","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/41f468786762348960486c166833a218a0a436af","tags":["fix","patch","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/57937a8e5e293f0dcba5115f7b7a11b1e0c9a273","tags":["fix","patch","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/e91c11449cad34bac3ea55ee09ca557691d92b53","tags":["fix","patch","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/a46c10ec9d4050ab67b8a932e0859a2ea60c3cb8","tags":["fix","patch","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/c97e87593063d84a2bd9fe7068b30eb44de23dc0","tags":["fix","patch","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-12084","tags":["web"],"sources":["bitnami"]}],"credits":["Jacob Walls","Shai Berger","Natalia Bidart","Seth Larson"],"assigner":"PSF","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2025-12-03T19:13:23.548Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-12084","url":"https://www.cve.org/CVERecord?id=CVE-2025-12084","licence":"CVE Terms of Use","modified":"2026-03-03T14:41:38.821Z"},{"source":"psf","name":"Python Software Foundation","id":"PSF-2025-16","url":"https://osv.dev/vulnerability/PSF-2025-16","licence":"CC-BY-4.0","modified":"2026-05-11T18:41:00.258Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-12084","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-12084","licence":"Public domain","modified":"2026-06-17T08:31:41.583Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-LIBPYTHON-2025-12084","url":"https://osv.dev/vulnerability/BIT-LIBPYTHON-2025-12084","licence":"Apache-2.0","modified":"2026-09-08T08:48:08.934Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PYTHON-2025-12084","url":"https://osv.dev/vulnerability/BIT-PYTHON-2025-12084","licence":"Apache-2.0","modified":"2026-09-08T08:48:18.946Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PYTHON-MIN-2025-12084","url":"https://osv.dev/vulnerability/BIT-PYTHON-MIN-2025-12084","licence":"Apache-2.0","modified":"2026-09-08T08:48:18.893Z"}],"updatedAt":"2026-11-25T22:59:08.236Z","epss":{"score":0.00856,"percentile":0.59471,"date":"2026-12-01T12:00:22.000Z"}}