Stack-based buffer overflow in Libxml2 - CVE-2025-24928

 

Stack-based buffer overflow in Libxml2 - CVE-2025-24928

Published: February 20, 2025 / Updated: April 28, 2025


Vulnerability identifier: #VU104098
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-24928
CWE-ID: CWE-121
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error within the xmlSnprintfElements() function in valid.c. A remote attacker can pass specially crafted XML data to the application, trigger a stack-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

Libxml2
Debian Linux
SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise Server 12 SP5 LTSS Extended
SUSE Linux Enterprise Server 15 SP3
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Real Time 15
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE Manager Server
SUSE Linux Enterprise Micro
SUSE Linux Enterprise Micro for Rancher
Anolis OS
SUSE Enterprise Storage
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for x86_64 - Extended Update Support
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 ARM 64 - Extended Update Support
Ubuntu
Slackware Linux
Python 3 Module
Basesystem Module
openSUSE Leap
openEuler
Fedora
VolSync
IBM Concert Software
IBM Observability with Instana
Netcool Operations Insight
IBM Cloud Pak for Security
EasyApache
IBM Power Hardware Management Console (HMC)
Oracle HTTP Server
IBM Cloud Pak for Business Automation
Oracle Communications Cloud Native Core DBTier
Submariner
Service Interconnect
Multicluster GlobalHub
Ansible Automation Platform
Red Hat Advanced Cluster Management for Kubernetes
APEX Cloud Platform for Red Hat OpenShift
Red Hat OpenShift Dev Spaces
Red Hat Advanced Cluster Security for Kubernetes
IBM Watson Speech Services Cartridge for IBM Cloud Pak for Data
OpenShift Logging
Session Smart Router
App Connect Enterprise Certified Container
PowerProtect Data Manager
Rapid Infrastructure Automation
Guardium Data Security Center (GDSC)
IBM Cloud Pak for Watson AIOps
Robotic Process Automation for Cloud Pak
Business Automation Insights
APEX Cloud Platform for Microsoft Azure
Storage Resource Manager
SmartFabric OS10
System Storage DS8900F
QRadar Suite
Dell EMC NetWorker vProxy
watsonx.data
JBoss Core Services
IBM Edge Application Manager
Red Hat OpenShift Container Platform
Traffix SDC
Communications Unified Assurance
LANTIME Operating System Firmware (LTOS)
PowerScale OneFS
IBM Qradar SIEM
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
libxml2 (Ubuntu package)
libxml2 (Red Hat package)
libxml2
libxml2-devel
libxml2-python
libxml2-static
libxml2-2
libxml2-2-debuginfo-32bit
libxml2-2-32bit
libxml2-doc
libxml2-debugsource
libxml2-tools
python-libxml2-debugsource
python-libxml2-debuginfo
python-libxml2
libxml2-2-debuginfo
libxml2-tools-debuginfo
python3-libxml2
libxml2-2-32bit-debuginfo
python3-libxml2-python-debuginfo
python3-libxml2-python
python-libxml2-python-debugsource
libxml2 (Debian package)
libxml2-debuginfo
libxml2-help
libxml2-python-debugsource
python3-libxml2-debuginfo
libxml2-2-64bit
libxml2-devel-64bit
libxml2-2-64bit-debuginfo
libxml2-devel-32bit
python311-libxml2
python311-libxml2-debuginfo
IBM API Connect
Oracle Communications Cloud Native Core Security Edge Protection Proxy
Red Hat OpenShift Serverless
Multicluster Engine for Kubernetes
OpenShift Service Mesh
OpenShift Data Foundation (formerly OpenShift Container Storage)
OpenShift Virtualization
SmartFabric Manager
OpenShift API for Data Protection (OADP)
Red Hat OpenShift GitOps
Dell EMC Storage Monitoring and Reporting (SMR)
IBM CICS TX Advanced
IBM DS8000 Hardware Management Console

How to mitigate CVE-2025-24928

Install update from vendor's website.

Libxml2 - addressed in versions 2.12.10, 2.13.6
VolSync - update to 0.12.1
IBM Concert Software - update to 2.0.0
IBM Observability with Instana - update to 1.0.297
Rapid Infrastructure Automation - update to 1.1.5.3
Netcool Operations Insight - update to 1.6.15
IBM Cloud Pak for Security - update to 1.11.3.0
QRadar Suite - update to 1.11.3.0
watsonx.data - update to 2.2
JBoss Core Services - update to 2.4.62
Guardium Data Security Center (GDSC) - addressed in versions 3.7.2, 3.8.5
EasyApache - update to 4 25-6
IBM Cloud Pak for Watson AIOps - update to 4.10.0
LANTIME Operating System Firmware (LTOS) - update to 7.08.022
IBM Qradar SIEM - update to 7.5.0 Update Pack 11 IF04
IBM API Connect - update to 10.0.8.5
IBM Power Hardware Management Console (HMC) - update to 10.3.1060.0 SP2
Dell EMC NetWorker vProxy - addressed in versions 19.11.0.6, 19.12.0.2
Robotic Process Automation for Cloud Pak - addressed in versions 21.0.7.21, 23.0.20.2
Business Automation Insights - addressed in versions 24.0.0.0.4, 24.0.1.0.4
IBM Cloud Pak for Business Automation - addressed in versions 24.0.1-IF006, 25.0.0-IF003
libxml2 (Ubuntu package) - addressed in versions Ubuntu Pro (Infra-only), 2.9.10+dfsg-5ubuntu0.20.04.9, 2.9.13+dfsg-1ubuntu0.6, 2.9.14+dfsg-1.3ubuntu3.2, 2.12.7+dfsg-3ubuntu0.2
Submariner - addressed in versions 0.17.6, 0.18.5
Red Hat OpenShift Serverless - update to 1
Service Interconnect - addressed in versions 1, 1.4
Multicluster GlobalHub - addressed in versions 1.2.2, 1.3.3
SmartFabric Manager - update to 1.3.0
APEX Cloud Platform for Microsoft Azure - update to 01.04.01.00
OpenShift API for Data Protection (OADP) - update to 1.4.5
Red Hat OpenShift GitOps - update to 1.16.1
Ansible Automation Platform - addressed in versions 2.4, 2.5
Multicluster Engine for Kubernetes - addressed in versions 2.4.9, 2.5.9, 2.6.7, 2.7.4, 2.8.1
OpenShift Service Mesh - update to 2.5.10
libxml2 (Red Hat package) - addressed in versions 2.9.1-6.el7_9.9, 2.9.7-9.el8_2.1, 2.9.7-9.el8_4.5, 2.9.7-13.el8_6.8, 2.9.7-16.el8_8.7, 2.9.7-19.el8_10, 2.9.13-1.el9_0.4, 2.9.13-3.el9_2.6, 2.9.13-6.el9_5.2, 2.9.13-9.el9_4
libxml2 - addressed in versions 2.9.1-6.0.2, 2.9.7-19.0.1, 2.11.5-11
libxml2-devel - addressed in versions 2.9.1-6.0.2, 2.9.7-19.0.1, 2.11.5-11
libxml2-python - update to 2.9.1-6.0.2
libxml2-static - addressed in versions 2.9.1-6.0.2, 2.11.5-11
libxml2-2 - addressed in versions 2.9.4-46.81.1, 2.9.7-150000.3.76.1, 2.9.14-150400.5.38.1, 2.10.3-150500.5.23.1
libxml2-2-debuginfo-32bit - update to 2.9.4-46.81.1
libxml2-2-32bit - addressed in versions 2.9.4-46.81.1, 2.9.7-150000.3.76.1, 2.9.14-150400.5.38.1, 2.10.3-150500.5.23.1
libxml2-doc - addressed in versions 2.9.4-46.81.1, 2.9.14-150400.5.38.1, 2.10.3-150500.5.23.1
libxml2-debugsource - addressed in versions 2.9.4-46.81.1, 2.9.7-150000.3.76.1, 2.9.14-150400.5.38.1, 2.10.3-150500.5.23.1
libxml2-tools - addressed in versions 2.9.4-46.81.1, 2.9.7-150000.3.76.1, 2.9.14-150400.5.38.1, 2.10.3-150500.5.23.1
python-libxml2-debugsource - update to 2.9.4-46.81.1
python-libxml2-debuginfo - update to 2.9.4-46.81.1
libxml2-devel - addressed in versions 2.9.4-46.81.1, 2.9.7-150000.3.76.1, 2.9.14-150400.5.38.1, 2.10.3-150500.5.23.1
python-libxml2 - update to 2.9.4-46.81.1
libxml2-2-debuginfo - addressed in versions 2.9.4-46.81.1, 2.9.7-150000.3.76.1, 2.9.14-150400.5.38.1, 2.10.3-150500.5.23.1
libxml2-tools-debuginfo - addressed in versions 2.9.4-46.81.1, 2.9.7-150000.3.76.1, 2.9.14-150400.5.38.1, 2.10.3-150500.5.23.1
python3-libxml2 - addressed in versions 2.9.7-19.0.1, 2.11.5-11
libxml2-2-32bit-debuginfo - addressed in versions 2.9.7-150000.3.76.1, 2.9.14-150400.5.38.1, 2.10.3-150500.5.23.1
python3-libxml2-python-debuginfo - update to 2.9.7-150000.3.76.1
python3-libxml2-python - update to 2.9.7-150000.3.76.1
python-libxml2-python-debugsource - update to 2.9.7-150000.3.76.1
libxml2 (Debian package) - update to 2.9.14+dfsg-1.3~deb12u2
libxml2-debuginfo - update to 2.9.14-15
libxml2-debugsource - update to 2.9.14-15
libxml2 - update to 2.9.14-15
libxml2-devel - update to 2.9.14-15
python3-libxml2 - update to 2.9.14-15
libxml2-help - update to 2.9.14-15
libxml2-python-debugsource - addressed in versions 2.9.14-150400.5.38.1, 2.10.3-150500.5.23.1
python3-libxml2 - addressed in versions 2.9.14-150400.5.38.1, 2.10.3-150500.5.23.1
python3-libxml2-debuginfo - addressed in versions 2.9.14-150400.5.38.1, 2.10.3-150500.5.23.1
libxml2-2-64bit - addressed in versions 2.9.14-150400.5.38.1, 2.10.3-150500.5.23.1
libxml2-devel-64bit - addressed in versions 2.9.14-150400.5.38.1, 2.10.3-150500.5.23.1
libxml2-2-64bit-debuginfo - addressed in versions 2.9.14-150400.5.38.1, 2.10.3-150500.5.23.1
libxml2-devel-32bit - addressed in versions 2.9.14-150400.5.38.1, 2.10.3-150500.5.23.1
python311-libxml2 - addressed in versions 2.9.14-150400.5.38.1, 2.10.3-150500.5.23.1
python311-libxml2-debuginfo - addressed in versions 2.9.14-150400.5.38.1, 2.10.3-150500.5.23.1
Red Hat Advanced Cluster Management for Kubernetes - addressed in versions 2.10.8, 2.11.7, 2.12.3
libxml2-doc - update to 2.11.5-11
libxml2 - update to 2.11.9
libxml2 - addressed in versions 2.12.10-1.fc40, 2.12.10-1.fc41, 2.12.10-1.fc42
APEX Cloud Platform for Red Hat OpenShift - addressed in versions 03.02.04.00, 03.04.01.00
Red Hat OpenShift Dev Spaces - update to 3.20.0
OpenShift Data Foundation (formerly OpenShift Container Storage) - update to 4
Red Hat Advanced Cluster Security for Kubernetes - addressed in versions 4.5.8, 4.6.4, 4.7.1
Red Hat OpenShift Container Platform - addressed in versions 4.12.75, 4.13.57, 4.14.50, 4.15.48, 4.16.38, 4.16.39, 4.16.44, 4.17.22, 4.17.23, 4.18.6, 4.18.9
OpenShift Virtualization - update to 4.16.7
Dell EMC Storage Monitoring and Reporting (SMR) - addressed in versions 5.0.2.2, 5.1.0.0
Storage Resource Manager - addressed in versions 5.0.2.2, 5.1.0.0
IBM Watson Speech Services Cartridge for IBM Cloud Pak for Data - update to 5.1.3
Traffix SDC - update to 5.2.0 CF8
OpenShift Logging - addressed in versions 5.8.19, 5.9.13, 6.0.6, 6.1.4, 6.1.5
Session Smart Router - addressed in versions 6.2.10, 6.3.7
PowerScale OneFS - addressed in versions 9.10.1.3, 9.11.0.1
IBM CICS TX Advanced - update to 10.1.0.0 ifix37
SmartFabric OS10 - addressed in versions 10.5.4.15, 10.5.5.14, 10.5.6.9
IBM DS8000 Hardware Management Console - update to 10.10.106.0 R10.1
App Connect Enterprise Certified Container - addressed in versions 12.0.11, 12.11.0
PowerProtect Data Manager - update to 19.19.0-15
System Storage DS8900F - update to 89.44.4.0 R9.4 SP4

External References

Related Security Bulletins