CVE-2025-49794
JSON

9.1critical

Libxml: heap use after free (uaf) leads to denial of service (dos)

Severity
9.1critical CVSS:3.1 by redhat
Exploit likelihood
0.94% (higher than 61% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat

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

Product or packageVersionsReported by
libxml2before 2.15.0
Not affected: from 0:2.12.5-7.el10_0 before *, from 0:2.9.1-6.el7_9.10 before *, from 0:2.9.7-21.el8_10.1 before *, from 0:2.9.7-9.el8_2.3 before *, from 0:2.9.7-9.el8_4.6 before *, from 0:2.9.7-13.el8_6.10 before *
CVE List
openshift/ose-rhel-coreos-8Not specified
Not affected: from 412.86.202510291903-0 before *
CVE List
openshift/ose-rhel-coreos-9Not specified
Not affected: from 413.92.202510150118-0 before *, from 414.92.202510211419-0 before *, from 415.92.202609140326-0 before *, from 416.94.202609011112-0 before *, from 417.94.202510112152-0 before *, from 418.94.202510230424-0 before *
CVE List
web-terminal/web-terminal-rhel9-operatorNot specified
Not affected: from 1.11-19 before *
CVE List
web-terminal/web-terminal-tooling-rhel9Not specified
Not affected: from 1.11-8 before *, from 1.12-4 before *
CVE List
openshift-serverless-1/logic-data-index-ephemeral-rhel8Not specified
Not affected: from 1.36.0-11 before *
CVE List
openshift-serverless-1/logic-data-index-postgresql-rhel8Not specified
Not affected: from 1.36.0-11 before *
CVE List
openshift-serverless-1/logic-db-migrator-tool-rhel8Not specified
Not affected: from 1.36.0-11 before *
CVE List
openshift-serverless-1/logic-jobs-service-ephemeral-rhel8Not specified
Not affected: from 1.36.0-10 before *
CVE List
openshift-serverless-1/logic-jobs-service-postgresql-rhel8Not specified
Not affected: from 1.36.0-10 before *
CVE List
openshift-serverless-1/logic-kn-workflow-cli-artifacts-rhel8Not specified
Not affected: from 1.36.0-4 before *
CVE List
openshift-serverless-1/logic-management-console-rhel8Not specified
Not affected: from 1.36.0-9 before *
CVE List

Classification

CWE-825

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Se detectó una vulnerabilidad de use-after-free en libxml2. Este problema se produce al analizar elementos XPath en ciertas circunstancias cuando el esquema XML contiene los elementos de esquema . Esta falla permite a un actor malicioso manipular un documento XML malicioso que se utiliza como entrada para libxml, lo que provoca el bloqueo del programa al usar libxml u otros posibles comportamientos indefinidos.

References

https://access.redhat.com/errata/RHSA-2025:10630vendor-advisory
https://access.redhat.com/errata/RHSA-2025:10698vendor-advisory
https://access.redhat.com/errata/RHSA-2025:10699vendor-advisory
https://access.redhat.com/errata/RHSA-2025:11580vendor-advisory
https://access.redhat.com/errata/RHSA-2025:12098vendor-advisory
https://access.redhat.com/errata/RHSA-2025:12099vendor-advisory
https://access.redhat.com/errata/RHSA-2025:12199vendor-advisory
https://access.redhat.com/errata/RHSA-2025:12237vendor-advisory
https://access.redhat.com/errata/RHSA-2025:12239vendor-advisory
https://access.redhat.com/errata/RHSA-2025:12240vendor-advisory
https://access.redhat.com/errata/RHSA-2025:12241vendor-advisory
https://access.redhat.com/errata/RHSA-2025:13335vendor-advisory

Sources

SourceRecordLicence
CVE ListCVE-2025-49794 changed 2026-11-04CVE Terms of Use
NVDCVE-2025-49794 changed 2026-11-04Public domain