CVE-2025-49796
Libxml: type confusion leads to denial of service (dos)
Check your servers for CVE-2025-49796
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-49796 affects libxml2, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
A vulnerability was found in libxml2. Processing certain sch:name elements from the input XML file can trigger a memory corruption issue. This flaw allows an attacker to craft a malicious XML input file that can lead libxml to crash, resulting in a denial of service or other possible undefined behavior due to sensitive data being corrupted in memory.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 1.49%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 74.3% of all scored CVEs. Scores of 29 Nov 2026.
The assessment of CISA (SSVC, 16 Jun 2025):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- yes: an attacker can automate the attack across many targets
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-125 Out-of-bounds Read
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
libxml2
package
libxml2 |
affected before 2.15.0
Other versions: unaffected
|
|
Red Hat Enterprise Linux 10
package
libxml2 |
unaffected 0:2.12.5-7.el10_0 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 7 Extended Lifecycle Support
package
libxml2 |
unaffected 0:2.9.1-6.el7_9.10 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8
package
libxml2 |
unaffected 0:2.9.7-21.el8_10.1 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8
package
libxml2 |
unaffected 0:2.9.7-21.el8_10.1 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.2 Advanced Update Support
package
libxml2 |
unaffected 0:2.9.7-9.el8_2.3 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
package
libxml2 |
unaffected 0:2.9.7-9.el8_4.6 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On
package
libxml2 |
unaffected 0:2.9.7-9.el8_4.6 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
package
libxml2 |
unaffected 0:2.9.7-13.el8_6.10 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.6 Telecommunications Update Service
package
libxml2 |
unaffected 0:2.9.7-13.el8_6.10 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
package
libxml2 |
unaffected 0:2.9.7-13.el8_6.10 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.8 Telecommunications Update Service
package
libxml2 |
unaffected 0:2.9.7-16.el8_8.9 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
package
libxml2 |
unaffected 0:2.9.7-16.el8_8.9 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9
package
libxml2 |
unaffected 0:2.9.13-10.el9_6 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9
package
libxml2 |
unaffected 0:2.9.13-10.el9_6 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions
package
libxml2 |
unaffected 0:2.9.13-1.el9_0.5 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions
package
libxml2 |
unaffected 0:2.9.13-3.el9_2.7 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9.4 Extended Update Support
package
libxml2 |
unaffected 0:2.9.13-10.el9_4 and later
Other versions: affected
|
|
Red Hat JBoss Core Services 2.4.62.SP2
package
libxml2 |
unaffected the record does not list versions
|
|
Red Hat OpenShift Container Platform 4.12
package
openshift/ose-rhel-coreos-8 |
unaffected 412.86.202510291903-0 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.13
package
openshift/ose-rhel-coreos-9 |
unaffected 413.92.202510150118-0 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.14
package
openshift/ose-rhel-coreos-9 |
unaffected 414.92.202510211419-0 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.15
package
openshift/ose-rhel-coreos-9 |
unaffected 415.92.202609140326-0 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.16
package
openshift/ose-rhel-coreos-9 |
unaffected 416.94.202609011112-0 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.17
package
openshift/ose-rhel-coreos-9 |
unaffected 417.94.202510112152-0 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
openshift/ose-rhel-coreos-9 |
unaffected 418.94.202510230424-0 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.19
package
openshift/ose-rhel-coreos-9 |
unaffected 4.19.9.6.202510140714-0 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.20
package
openshift/ose-rhel-coreos-9 |
unaffected 4.20.9.6.202509251656-0 and later
Other versions: affected
|
|
Red Hat Web Terminal 1.11 on RHEL 9
package
web-terminal/web-terminal-rhel9-operator |
unaffected 1.11-19 and later
Other versions: affected
|
|
Red Hat Web Terminal 1.11 on RHEL 9
package
web-terminal/web-terminal-tooling-rhel9 |
unaffected 1.11-8 and later
Other versions: affected
|
|
Red Hat Web Terminal 1.12 on RHEL 9
package
web-terminal/web-terminal-tooling-rhel9 |
unaffected 1.12-4 and later
Other versions: affected
|
|
RHOSS-1.36-RHEL-8
package
openshift-serverless-1/logic-data-index-ephemeral-rhel8 |
unaffected 1.36.0-11 and later
Other versions: affected
|
|
RHOSS-1.36-RHEL-8
package
openshift-serverless-1/logic-data-index-postgresql-rhel8 |
unaffected 1.36.0-11 and later
Other versions: affected
|
|
RHOSS-1.36-RHEL-8
package
openshift-serverless-1/logic-db-migrator-tool-rhel8 |
unaffected 1.36.0-11 and later
Other versions: affected
|
|
RHOSS-1.36-RHEL-8
package
openshift-serverless-1/logic-jobs-service-ephemeral-rhel8 |
unaffected 1.36.0-10 and later
Other versions: affected
|
|
RHOSS-1.36-RHEL-8
package
openshift-serverless-1/logic-jobs-service-postgresql-rhel8 |
unaffected 1.36.0-10 and later
Other versions: affected
|
|
RHOSS-1.36-RHEL-8
package
openshift-serverless-1/logic-kn-workflow-cli-artifacts-rhel8 |
unaffected 1.36.0-4 and later
Other versions: affected
|
|
RHOSS-1.36-RHEL-8
package
openshift-serverless-1/logic-management-console-rhel8 |
unaffected 1.36.0-9 and later
Other versions: affected
|
|
RHOSS-1.36-RHEL-8
package
openshift-serverless-1/logic-operator-bundle |
unaffected 1.36.0-12 and later
Other versions: affected
|
|
RHOSS-1.36-RHEL-8
package
openshift-serverless-1/logic-rhel8-operator |
unaffected 1.36.0-18 and later
Other versions: affected
|
|
RHOSS-1.36-RHEL-8
package
openshift-serverless-1/logic-swf-builder-rhel8 |
unaffected 1.36.0-11 and later
Other versions: affected
|
|
RHOSS-1.36-RHEL-8
package
openshift-serverless-1/logic-swf-devmode-rhel8 |
unaffected 1.36.0-7 and later
Other versions: affected
|
|
cert-manager operator for Red Hat OpenShift 1.16
package
cert-manager/jetstack-cert-manager-rhel9 |
unaffected v1.16.5-1760515757 and later
Other versions: affected
|
|
OpenShift File Integrity Operator - FIO 1
package
compliance/openshift-file-integrity-rhel8-operator |
unaffected v1.3 and later
Other versions: affected
|
|
Red Hat Discovery 2
package
discovery/discovery-server-rhel9 |
unaffected 2.0.1-1754478727 and later
Other versions: affected
|
|
Red Hat Hardened Images
package
libxml2-main |
unaffected 2.15.2-0.3.hum1 and later
Other versions: affected
|
|
Red Hat Insights proxy 1.5
package
insights-proxy/insights-proxy-container-rhel9 |
unaffected 1.5.5-1754504343 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 6
package
libxml2 |
unknown the record does not list versions
|
Is my server affected?
Find the installed version of libxml2 and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i libxml2
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2025-49796 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2025-49796RHEL, Rocky, Alma, Fedora
rpm -q libxml2
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2025-49796Alpine
apk list --installed | grep -i libxml2With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-49796
trivy image --scanners vuln IMAGE | grep CVE-2025-49796
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- RHSA-2025:10630 access.redhat.com · vendor advisory
- RHSA-2025:10698 access.redhat.com · vendor advisory
- RHSA-2025:10699 access.redhat.com · vendor advisory
- RHSA-2025:11580 access.redhat.com · vendor advisory
- RHSA-2025:12098 access.redhat.com · vendor advisory
- RHSA-2025:12099 access.redhat.com · vendor advisory
- RHSA-2025:12199 access.redhat.com · vendor advisory
- RHSA-2025:12237 access.redhat.com · vendor advisory
- RHSA-2025:12239 access.redhat.com · vendor advisory
- RHSA-2025:12240 access.redhat.com · vendor advisory
- RHSA-2025:12241 access.redhat.com · vendor advisory
- RHSA-2025:13267 access.redhat.com · vendor advisory
19 more
- RHSA-2025:13335 access.redhat.com · vendor advisory
- RHSA-2025:15397 access.redhat.com · vendor advisory
- RHSA-2025:15827 access.redhat.com · vendor advisory
- RHSA-2025:15828 access.redhat.com · vendor advisory
- RHSA-2025:18217 access.redhat.com · vendor advisory
- RHSA-2025:18218 access.redhat.com · vendor advisory
- RHSA-2025:18219 access.redhat.com · vendor advisory
- RHSA-2025:18240 access.redhat.com · vendor advisory
- RHSA-2025:19020 access.redhat.com · vendor advisory
- RHSA-2025:19041 access.redhat.com · vendor advisory
- RHSA-2025:19046 access.redhat.com · vendor advisory
- RHSA-2025:19894 access.redhat.com · vendor advisory
- RHSA-2025:21913 access.redhat.com · vendor advisory
- RHSA-2026:0934 access.redhat.com · vendor advisory
- RHSA-2026:62549 access.redhat.com · vendor advisory
- RHSA-2026:67857 access.redhat.com · vendor advisory
- RHSA-2026:7519 access.redhat.com · vendor advisory
- https://access.redhat.com/security/cve/CVE-2025-49796 access.redhat.com · vdb entry
- RHBZ#2372385 bugzilla.redhat.com · issue tracking
Other references
- https://gitlab.gnome.org/GNOME/libxml2/-/issues/933 gitlab.gnome.org
- https://lists.debian.org/debian-lts-announce/2025/07/msg00014.html lists.debian.org
- https://cert-portal.siemens.com/productcert/html/ssa-577017.html cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/html/ssa-253495.html cert-portal.siemens.com
Source: the record CVE-2025-49796 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse