All reports
High

libxml: Heap use after free (UAF) leads to Denial of service (DoS)

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2025-49794

Probability of exploitation in the next 30 days: 0.87%

FIRST EPSS · 2026-11-23

Description

A use-after-free vulnerability was found in libxml2. This issue occurs when parsing XPath elements under certain circumstances when the XML schematron has the <sch:name path="..."/> schema elements. This flaw allows a malicious actor to craft a malicious XML document used as input for libxml, resulting in the program's crash using libxml or other possible undefined behaviors.

A use-after-free vulnerability was found in libxml2. This issue occurs when parsing XPath elements under certain circumstances when the XML schematron has the <sch:name path="..."/> schema elements. This flaw allows a malicious actor to craft a malicious XML document used as input for libxml, resulting in the program's crash using libxml or other possible undefined behaviors.