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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | xen | 0 | ALPINE-CVE-2025-58146 |
| Alpine:v3.21 | xen | 0 | ALPINE-CVE-2025-58146 |
| Alpine:v3.22 | xen | 0 | ALPINE-CVE-2025-58146 |
| Alpine:v3.23 | xen | 0 | ALPINE-CVE-2025-58146 |
| Alpine:v3.24 | xen | 0 | ALPINE-CVE-2025-58146 |
Affected products (as reported)
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