CVE-2025-12084

medium

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.

References

https://github.com/python/cpython/pull/142146

https://github.com/python/cpython/issues/142145

https://github.com/python/cpython/commit/ddcd2acd85d891a53e281c773b3093f9db953964

https://github.com/python/cpython/commit/08d8e18ad81cd45bc4a27d6da478b51ea49486e4

https://github.com/python/cpython/commit/027f21e417b26eed4505ac2db101a4352b7c51a0

Details

Source: Mitre, NVD

Published: 2025-12-03

Updated: 2025-12-05

Risk Information

CVSS v2

Base Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P

Severity: Medium

CVSS v3

Base Score: 7.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Severity: High

CVSS v4

Base Score: 6.3

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

Severity: Medium

EPSS

EPSS: 0.0004