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.
Workaround:
The product dereferences a pointer that contains a location for memory that was previously valid, but is no longer valid.
Link | Tags |
---|---|
https://access.redhat.com/errata/RHSA-2025:10630 | vendor advisory |
https://access.redhat.com/errata/RHSA-2025:10698 | vendor advisory |
https://access.redhat.com/errata/RHSA-2025:10699 | vendor advisory |
https://access.redhat.com/security/cve/CVE-2025-49794 | vdb entry |
https://bugzilla.redhat.com/show_bug.cgi?id=2372373 | issue tracking |