Skip to content
6.3 Medium

CVE-2025-12084 When building nested elements using xml.dom.minidom methods such as appendChild() that have a dependency on…

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 and versions

Product Affected versions Fixed in
CPython 3.15 3.15.0a1 → < 3.15.0a3 3.15.0a3
CPython 3.14 3.14.0 → < 3.14.2 3.14.2
CPython 3.13 3.13.0 → < 3.13.11 3.13.11
CPython 3.12 3.12.0 → < 3.12.13 3.12.13
CPython 3.11 3.11.0 → < 3.11.15 3.11.15
CPython 3.10 earliest → < 3.10.20 3.10.20

References

Timeline

  1. Published
  2. Last modified
The 79 CVEs of CPython →
Track this CVE