CVE-2025-49794
9.1 CRITICALA use-after-free vulnerability was found in libxml2
Published: 2025-06-16 · Last updated: 2026-06-02
Severity and scoring
- CVSS
- 9.1 CRITICAL
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
- CWE
- CWE-825
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.
Source: NVD
References
- [NVD]https://nvd.nist.gov/vuln/detail/CVE-2025-49794
- [Other]https://access.redhat.com/errata/RHSA-2025:10630
- [Other]https://access.redhat.com/errata/RHSA-2025:10698
- [Other]https://access.redhat.com/errata/RHSA-2025:10699
- [Other]https://access.redhat.com/errata/RHSA-2025:11580
- [Other]https://access.redhat.com/errata/RHSA-2025:12098
- [Other]https://access.redhat.com/errata/RHSA-2025:12099
- [Other]https://access.redhat.com/errata/RHSA-2025:12199
- [Other]https://access.redhat.com/errata/RHSA-2025:12237
- [Other]https://access.redhat.com/errata/RHSA-2025:12239
- [Other]https://access.redhat.com/errata/RHSA-2025:12240
- [Other]https://access.redhat.com/errata/RHSA-2025:12241
- [Other]https://access.redhat.com/errata/RHSA-2025:13335
- [Other]https://access.redhat.com/errata/RHSA-2025:15397
- [Other]https://access.redhat.com/errata/RHSA-2025:15827
- [Other]https://access.redhat.com/errata/RHSA-2025:15828
- [Other]https://access.redhat.com/errata/RHSA-2025:18217
- [Other]https://access.redhat.com/errata/RHSA-2025:18218
- [Other]https://access.redhat.com/errata/RHSA-2025:18219
- [Other]https://access.redhat.com/errata/RHSA-2025:18240
- [Other]https://access.redhat.com/errata/RHSA-2025:19020
- [Other]https://access.redhat.com/errata/RHSA-2025:19041
- [Other]https://access.redhat.com/errata/RHSA-2025:19046
- [Other]https://access.redhat.com/errata/RHSA-2025:19894
- [Other]https://access.redhat.com/errata/RHSA-2025:21913
- [Other]https://access.redhat.com/errata/RHSA-2026:0934
- [Other]https://access.redhat.com/errata/RHSA-2026:7519
- [Other]https://access.redhat.com/security/cve/CVE-2025-49794
- [Other]https://bugzilla.redhat.com/show_bug.cgi?id=2372373
- [Other]https://gitlab.gnome.org/GNOME/libxml2/-/issues/931
- [Other]https://lists.debian.org/debian-lts-announce/2025/07/msg00014.html
- [Other]https://cert-portal.siemens.com/productcert/html/ssa-253495.html
- [Other]https://cert-portal.siemens.com/productcert/html/ssa-577017.html
Related CVEs
Same CWE
- CVE-2026-8854 — IBM HTTP Server 8.5, and 9.0 is vulnerable to denial of service via the optional module mod_mem_cache (7.5 HIGH)
- CVE-2026-34001 — A flaw was found in the X.Org X server (7.8 HIGH)
- CVE-2025-61664 — A vulnerability in the GRUB2 bootloader has been identified in the normal module (4.9 MEDIUM)
- CVE-2025-54771 — A use-after-free vulnerability has been identified in the GNU GRUB (Grand Unified Bootloader) (4.9 MEDIUM)
- CVE-2025-54770 — A vulnerability has been identified in the GRUB2 bootloader's network module that poses an immediate Denial of Service (DoS) risk (4.9 MEDIUM)