CVE 7.5 HIGH

Libxml2: namespace use-after-free in xmlsettreedoc() function of libxml2_CVE-2025-12863

7.5 / 10
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Description

A flaw was found in the xmlSetTreeDoc() function of the libxml2 XML parsing library. This function is responsible for updating document pointers when XML nodes are moved between documents. Due to improper handling of namespace references, a namespace pointer may remain linked to a freed memory region when the original document is destroyed. As a result, subsequent operations that access the namespace can lead to a use-after-free condition, causing an application crash.

Basic Information

ID CVE-2025-12863
Source redhat
Published Nov 7, 2025 at 20:59
Modified Nov 7, 2025 at 21:24

Affected Product

Vendor Red Hat
Product Red Hat Enterprise Linux 10

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.