CVE-2025-58146
CriticalCVSS 9.4Summary
Multiple issues exist in XAPI: (1) database updates sanitize input strings but generate notifications from unsanitized input, causing the database event thread to terminate; (2) XAPI's UTF-8 encoder implements Unicode v3.0 while libraries use v3.1, leading to acceptance of invalid strings that can prevent database loading; (3) no input sanitization for Map/Set updates on database objects.
Risk Assessment
Risk includes disruption of XAPI database operations, leading to service unavailability, and potential insertion of invalid data that prevents database loading, causing permanent loss of functionality.
Recommendation
Immediately update XAPI to a patched version, implement additional input validation mechanisms, and ensure UTF-8 encoding compatibility with all libraries in use.
Other vulnerabilities in XAPI
See all- CVE-2026-42486Critical
CVE-2026-42486 in XAPI allows a vm-admin user to set the VM.platform:hvm_serial parameter, which should be restricted to the pool-admin role. This enables arbitrary file write in dom0, potentially leading to privilege escalation and system compromise.
- CVE-2026-23562Critical
CVE-2026-23562 in XAPI (XenServer API) allows a vm-admin user to configure PCI passthrough, which is normally restricted to the pool-admin role. A missing permission check in one API grants unintended access to host hardware.
- CVE-2026-23561Critical
In XAPI, a user with the vm-admin role can set the VM.other_config:storage_driver_domain parameter, marking a VM as the storage domain for a PBD connection. Shutting down such a VM may cause the PBD to be erroneously marked as unplugged when it is not.
- CVE-2026-23560Critical
Vulnerability CVE-2026-23560 in XAPI allows a vm-admin user to set the VM.other-config:is_system_domain parameter, marking a virtual machine as a system domain. Such domains are ignored and left running during host or pool operations, and may be hidden from administrative tools.
- CVE-2026-23559Critical
A user with the vm-admin role in XAPI can set the VBD.other_config:backend-local parameter, allowing arbitrary files in dom0 to be turned into virtual disks (VDIs) and attached to a controlled VM. This enables unauthorized read and modification of files in dom0.
Original NVD description (English source)
There are multiple issues. 1. Updates to the XAPI database sanitise input strings, but try generating the notification using the unsanitised input. This causes the database's event thread to terminate and cease further processing. 2. XAPI's UTF-8 encoder implements v3.0 of the Unicode spec, but XAPI uses libraries which conform to the stricter v3.1 of the Unicode spec. This causes some strings to be accepted as valid UTF-8 by XAPI, but rejected by other libraries in use. Notably, such strings can be entered into the database, after which the database can no longer be loaded. 3. There is no input sanitisation for Map/Set updates on objects in the XAPI database.

