SECURITY UPDATE: quadratic complexity in xml.dom.minidom node ID cache
clearing leads to denial of service
debian/patches/CVE-2025-12084.patch: Replace quadratic indocument()
traversal with ownerDocument attribute check in clearid_cache(); ensure
Element and Attr instances have ownerDocument attribute.