CVE-2025-49794
CRITICAL9.1EPSS 0.45%Published: 6/16/2025Modified: 4/28/2026
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.
Affected packages (2)
- Alpine/libxml2from 0, < 2.13.9-r0
- Debian/libxml2from 0, < 2.9.10+dfsg-6.7+deb11u8
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |