Vulnerability

CVE-2025-12084

mediumCVSS 4.0 6.3Published 3 Dec 2025

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Python python

Weakness type

References

  • github.com /python/cpython/commit/027f21e417b26eed4505ac2db101a4352b7c…
  • github.com /python/cpython/commit/08d8e18ad81cd45bc4a27d6da478b51ea494…
  • github.com /python/cpython/commit/27648a1818749ef44c420afe6173af686871…
  • github.com /python/cpython/commit/41f468786762348960486c166833a218a0a4…
  • github.com /python/cpython/commit/57937a8e5e293f0dcba5115f7b7a11b1e0c9…
  • github.com /python/cpython/commit/8d2d7bb2e754f8649a68ce4116271a4932f7…
  • github.com /python/cpython/commit/9c9dda6625a2a90d2a06c657eee021d6be19…
  • github.com /python/cpython/commit/a46c10ec9d4050ab67b8a932e0859a2ea60c…
  • github.com /python/cpython/commit/a696ba8b4d42fd632afc9bc88ad830a2e4cc…
  • github.com /python/cpython/commit/c97e87593063d84a2bd9fe7068b30eb44de2…
  • github.com /python/cpython/commit/ddcd2acd85d891a53e281c773b3093f9db95…
  • github.com /python/cpython/commit/e91c11449cad34bac3ea55ee09ca557691d9…
  • github.com /python/cpython/issues/142145
  • github.com /python/cpython/pull/142146

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning