CVE-2025-58151CWE-367

CVE-2025-58151

published July 9, 2026

CVSS
9.4
EPSS
0%
Percentile
2.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
9.4 · NONE
CVSS v4.0
Not supplied
EPSS
0.00137 · 2.9th percentile
Weakness
CWE-367 · Time-of-check Time-of-use (TOCTOU) Race Condition
Published
2026-07-09T20:16Z
References (3)
EPSS history
Timeline
  • 09 JUL 14:45Z
    varstored: TOCTOU issues with mapped guest memory
    cvelistv5