Critical severity · published Jul 9, 2026
CVE-2025-58151
varstored: TOCTOU issues with mapped guest memory
9.4
CVSS
0.1%
EPSS
No
On KEV
Description
varstored is a component of the Xapi toolstack handling UEFI Variables
for a VM. It has a communication path with OVMF inside the VM involving
mapping a buffer prepared by OVMF.
Within varstored, there were insufficient compiler barriers, creating
TOCTOU issues with data in the shared buffer.
The exact vulnerable behaviour depends on the code generated by the
compiler. In a build of varstored using default settings, the attacker
can control an index used in a jump table.
Exploitation
Is it being used?
Exploit prediction (EPSS)0.1% · higher than 3% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
VA
varstored · Xen
All versions, or not specified · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-58151
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-58151
xenbits.xen.org
https://xenbits.xen.org/xsa/advisory-478.html
www.openwall.com
http://www.openwall.com/lists/oss-security/2026/01/27/2
xenbits.xen.org
http://xenbits.xen.org/xsa/advisory-478.html
