CVE-2025-58146 PUBLISHED

XAPI UTF-8 string handling

Assigner: XEN
Reserved: 26.08.2025 Published: 09.07.2026 Updated: 09.07.2026

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.

Metrics

CVSS 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
CVSS Score: 9.4

Product Status

Vendor Xen
Product XAPI
Versions Default: unaffected
  • Version all is affected

Credits

  • This issue was discovered by Edwin Török from XenServer. finder

References

Problem Types

  • CWE-20 Improper input validation CWE

Impacts

  • CAPEC-272 Protocol Manipulation