CVE-2025-49794
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.
How to fix
- libxml22.15.0 or later
- access.redhat.com/errata/RHSA-2025:10630
- access.redhat.com/errata/RHSA-2025:10698
- access.redhat.com/errata/RHSA-2025:10699
- access.redhat.com/errata/RHSA-2025:11580
- access.redhat.com/errata/RHSA-2025:12098
- access.redhat.com/errata/RHSA-2025:12099
- access.redhat.com/errata/RHSA-2025:12199
- access.redhat.com/errata/RHSA-2025:12237
- access.redhat.com/errata/RHSA-2025:12239
- access.redhat.com/errata/RHSA-2025:12240
- access.redhat.com/errata/RHSA-2025:12241
- access.redhat.com/errata/RHSA-2025:13335
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| libxml2 | v < 2.15.0 | 2.15.0 |
| Red Hat Red Hat Enterprise Linux 10 | No range specified | — |
| Red Hat Red Hat Enterprise Linux 7 Extended Lifecycle Support | No range specified | — |
| enterprise_linux 8 | No range specified | — |
| rhel_aus 8.2 | No range specified | — |
| rhel_aus 8.4 | No range specified | — |
| rhel_aus 8.6 | No range specified | — |
| rhel_e4s 8.8 | No range specified | — |
| enterprise_linux 9 | No range specified | — |
| rhel_e4s 9.0 | No range specified | — |
| rhel_e4s 9.2 | No range specified | — |
| rhel_eus 9.4 | No range specified | — |
| openshift 4.12 | No range specified | — |
| openshift 4.13 | No range specified | — |
| openshift 4.14 | No range specified | — |
| openshift 4.15 | No range specified | — |
| openshift 4.16 | No range specified | — |
| openshift 4.17 | No range specified | — |
| openshift 4.18 | No range specified | — |
| openshift 4.19 | No range specified | — |
| openshift 4.20 | No range specified | — |
| webterminal 1.11 | No range specified | — |
| webterminal 1.12 | No range specified | — |
| openshift_serverless 1.36 | No range specified | — |
| cert_manager 1.16 | No range specified | — |
| openshift_file_integrity_operator 1 | No range specified | — |
| Red Hat Red Hat Hardened Images | No range specified | — |
| insights_proxy 1.5 | No range specified | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.