Vulnerability · Published Jul 9, 2026 · Assigned by XEN

CVE-2025-58146XAPI UTF-8 string handling

Critical 9.4

In plain English

A critical-severity improper input validation in XAPI from Xen. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 7% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)9.4Critical
Exploit odds (30 days)0.2%top 92.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20xen0ALPINE-CVE-2025-58146
Alpine:v3.21xen0ALPINE-CVE-2025-58146
Alpine:v3.22xen0ALPINE-CVE-2025-58146
Alpine:v3.23xen0ALPINE-CVE-2025-58146
Alpine:v3.24xen0ALPINE-CVE-2025-58146

Affected products (as reported)

VendorProductVersions
Xen XAPI all

Weakness: CWE-20 · Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

References