Integer overflow in Libxml2 - CVE-2025-6021
Published: June 17, 2025 / Updated: July 11, 2025
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to integer overflow within the xmlBuildQName() function in tree.c . A remote attacker can pass specially crafted data to the application, trigger an integer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Arch Linux
Anolis OS
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
openEuler
IBM Observability with Instana
Netcool Operations Insight
Tenable Nessus
IBM Power Hardware Management Console (HMC)
IBM Cloud Pak for Business Automation
Ansible Automation Platform
Red Hat Advanced Cluster Security for Kubernetes
IBM TXSeries for Multiplatforms
IBM Cloud Pak System
Financial Transaction Manager for RedHat OpenShift
DataStage on Cloud Pak for Data
Business Automation Insights
Nessus Network Monitor
Red Hat OpenShift Container Platform
LANTIME Operating System Firmware (LTOS)
IBM Qradar SIEM
Oracle Java SE
IBM CICS TX Advanced
IBM CICS TX Standard
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
libxml2 (Red Hat package)
libxml2
libxml2-devel
python3-libxml2
libxml2-help
libxml2-debuginfo
libxml2-debugsource
python2-libxml2
libxml2-doc
libxml2-static
libxml2-static (Red Hat package)
python3-libxml2-debuginfo (Red Hat package)
libxml2-debugsource (Red Hat package)
libxml2-debuginfo (Red Hat package)
Red Hat OpenShift Serverless
OpenShift API for Data Protection (OADP)
Red Hat Ceph Storage
How to mitigate CVE-2025-6021
IBM Observability with Instana - update to 1.0.307
Netcool Operations Insight - update to 1.6.15
IBM Cloud Pak System - update to 2.3.6.1
DataStage on Cloud Pak for Data - update to 5.2.1
Nessus Network Monitor - update to 6.5.3
LANTIME Operating System Firmware (LTOS) - update to 7.10.004
IBM Qradar SIEM - update to 7.5.0 Update Pack 13 IF01
Tenable Nessus - addressed in versions 10.8.0, 10.8.1, 10.8.2, 10.8.3, 10.8.4, 10.8.5, 10.8.6, 10.9.6, 10.11.1
IBM Power Hardware Management Console (HMC) - addressed in versions 10.3.1060.0 SP2, 11.1.1110.0
Business Automation Insights - addressed in versions 24.0.0.0.5, 24.0.1.0.5, 25.0.0.0.2
IBM Cloud Pak for Business Automation - addressed in versions 24.0.1-IF006, 25.0.0-IF003
Red Hat OpenShift Serverless - update to 1
OpenShift API for Data Protection (OADP) - update to 1.4.5
Ansible Automation Platform - update to 2.5
libxml2 (Red Hat package) - addressed in versions 2.9.1-6.el7_9.10, 2.9.7-9.el8_2.3, 2.9.7-9.el8_4.6, 2.9.7-13.el8_6.10, 2.9.7-16.el8_8.9, 2.9.7-21.el8_10.1, 2.9.13-1.el9_0.5, 2.9.13-3.el9_2.7, 2.9.13-10.el9_4, 2.9.13-10.el9_6
libxml2 - addressed in versions 2.9.7-21.0.1, 2.11.5-10
libxml2-devel - addressed in versions 2.9.7-21.0.1, 2.11.5-10
python3-libxml2 - addressed in versions 2.9.7-21.0.1, 2.11.5-10
libxml2-help - addressed in versions 2.9.10-46, 2.9.14-18, 2.11.5-7, 2.11.9-4, 2.11.9-5
python3-libxml2 - addressed in versions 2.9.10-46, 2.9.14-18, 2.11.5-7, 2.11.9-4, 2.11.9-5
libxml2 - addressed in versions 2.9.10-46, 2.9.14-18, 2.11.5-7, 2.11.9-4, 2.11.9-5
libxml2-debuginfo - addressed in versions 2.9.10-46, 2.9.14-18, 2.11.5-7, 2.11.9-4, 2.11.9-5
libxml2-debugsource - addressed in versions 2.9.10-46, 2.9.14-18, 2.11.5-7, 2.11.9-4, 2.11.9-5
libxml2-devel - addressed in versions 2.9.10-46, 2.9.14-18, 2.11.5-7, 2.11.9-4, 2.11.9-5
python2-libxml2 - update to 2.9.10-46
libxml2-doc - update to 2.11.5-10
libxml2-static - update to 2.11.5-10
libxml2-static (Red Hat package) - update to 2.12.5-7.el10_0
python3-libxml2-debuginfo (Red Hat package) - update to 2.12.5-7.el10_0
libxml2-debugsource (Red Hat package) - update to 2.12.5-7.el10_0
libxml2-debuginfo (Red Hat package) - update to 2.12.5-7.el10_0
libxml2 - update to 2.14.4-1
Red Hat Advanced Cluster Security for Kubernetes - update to 4.7.5
Red Hat OpenShift Container Platform - addressed in versions 4.12.80, 4.13.60, 4.14.54, 4.14.55, 4.15.56, 4.15.57, 4.16.46, 4.17.37, 4.17.38, 4.18.22, 4.19.6, 4.19.7
Red Hat Ceph Storage - update to 7.1
IBM TXSeries for Multiplatforms - update to 11.1.0.0 ifix9
IBM CICS TX Advanced - update to 11.1.0.0 ifix33
IBM CICS TX Standard - update to 11.1.0.0 ifix34
External References
Related Security Bulletins
- Arch Linux update for libxml2
- Anolis OS update for libxml2
- openEuler 24.03 LTS update for libxml2
- openEuler 22.03 LTS SP4 update for libxml2
- openEuler 20.03 LTS SP4 update for libxml2
- openEuler 24.03 LTS SP1 update for libxml2
- Multiple vulnerabilities in Tenable Nessus
- openEuler 22.03 LTS SP3 update for libxml2
- Red Hat Enterprise Linux 10 update for libxml2
- Red Hat Enterprise Linux 8 update for libxml2
- Red Hat Enterprise Linux 9 update for libxml2
- Anolis OS update for libxml2
- openEuler 24.03 LTS SP2 update for libxml2
- Integer overflow in Libxml2
- Multiple vulnerabilities in OpenShift API for Data Protection (OADP) 1.4
- Multiple vulnerabilities in Red Hat Advanced Cluster Security for Kubernetes 4.7
- Red Hat Enterprise Linux 9 update for libxml2
- Red Hat Enterprise Linux 8 update for libxml2
- Red Hat Enterprise Linux 9 update for libxml2
- Red Hat Enterprise Linux 9 update for libxml2
- Red Hat Enterprise Linux 8 update for libxml2
- Red Hat Enterprise Linux 8 update for libxml2
- Red Hat Enterprise Linux 7 Extended Lifecycle Support update for libxml2
- Red Hat Enterprise Linux 8 update for libxml2
- Multiple vulnerabilities in Red Hat OpenShift Container Platform 4.14
- Multiple vulnerabilities in Red Hat OpenShift Container Platform 4.19
- Multiple vulnerabilities in Red Hat OpenShift Container Platform 4.19
- Multiple vulnerabilities in Red Hat OpenShift Container Platform 4.17
- Multiple vulnerabilities in Red Hat OpenShift Container Platform 4.15
- Multiple vulnerabilities in Red Hat OpenShift Container Platform 4.17
- Multiple vulnerabilities in IBM CICS TX Advanced
- Multiple vulnerabilities in IBM CICS TX Standard
- Multiple vulnerabilities in IBM TXSeries for Multiplatforms
- Multiple vulnerabilities in Red Hat OpenShift Container Platform 4.14
- Multiple vulnerabilities in Red Hat OpenShift Container Platform 4.14
- Multiple vulnerabilities in Red Hat OpenShift Container Platform 4.14
- Multiple vulnerabilities in Red Hat OpenShift Container Platform 4.15
- Multiple vulnerabilities in Red Hat OpenShift Container Platform 4.15
- Multiple vulnerabilities in Red Hat OpenShift Container Platform 4.18
- Multiple vulnerabilities in Red Hat OpenShift Container Platform 4.18
- Multiple vulnerabilities in Red Hat OpenShift Container Platform 4.16
- Multiple vulnerabilities in Red Hat OpenShift Container Platform 4.16
- Multiple vulnerabilities in Red Hat OpenShift Container Platform 4.16
- Multiple vulnerabilities in Red Hat OpenShift Container Platform 4.16
- Multiple vulnerabilities in Red Hat OpenShift Container Platform 4.18
- Multiple vulnerabilities in Red Hat OpenShift Container Platform 4.18
- IBM Financial Transaction Manager (FTM) for RedHat OpenShift update for libxml2
- Multiple vulnerabilities in IBM QRadar SIEM
- Multiple vulnerabilities in Red Hat OpenShift Container Platform 4.15
- Multiple vulnerabilities in Red Hat OpenShift Container Platform 4.17
- Multiple vulnerabilities in IBM DataStage on Cloud Pak for Data
- Multiple vulnerabilities in IBM Power Hardware Management Console (HMC)
- Multiple vulnerabilities in Red Hat OpenShift Container Platform 4.12
- Multiple vulnerabilities in Red Hat OpenShift Container Platform 4.13
- Multiple vulnerabilities in Red Hat Ceph Storage 7
- Meinberg LANTIME firmware update for third-party components
- Multiple vulnerabilities in IBM Business Automation Insights
- Multiple vulnerabilities in Netcool Operations Insight
- Multiple vulnerabilities in Tenable Nessus
- Multiple vulnerabilities in IBM Cloud Pak for Business Automation
- Multiple vulnerabilities in Oracle Java SE
- Multiple vulnerabilities in Red Hat OpenShift Serverless
- Tenable Network Monitor update for third-party components
- Multiple vulnerabilities in Ansible Automation Platform 2.5 packages
- Multiple vulnerabilities in IBM Observability with Instana
- IBM Cloud Pak System update for libxml2