Use-After-Free Vulnerability in libxml2 Affects Red Hat Products
CVE-2025-49794
9.1CRITICAL
What is CVE-2025-49794?
A use-after-free vulnerability has been identified in libxml2, which specifically manifests when parsing XPath elements in the presence of the <sch:name path="..."/> schema elements within an XML schematron. This flaw can be exploited by a malicious actor to create a specially crafted XML document that, when processed by libxml2, may cause the application to crash or potentially lead to unpredictable behaviors. This vulnerability highlights the need for proper input validation and error handling in XML processing routines.