Time-of-Check to Time-of-Use Vulnerability in Xapi Toolstack for UEFI Variables
CVE-2025-58151
Key facts: CVE-2025-58151 is a critical severity (CVSS 9.4) vulnerability in Xen Project varstored Linux. No exploitation in the wild or public proof-of-concept has been recorded so far. Its EPSS score is 0.1%, the estimated probability of exploitation in the next 30 days.
What is CVE-2025-58151?
The Xapi toolstack's varstored component, which manages UEFI Variables for virtual machines, exhibits a significant vulnerability due to inadequate compiler barriers. This oversight leads to Time-of-Check to Time-of-Use (TOCTOU) issues, allowing malicious actors to manipulate a jump table index under certain circumstances. The vulnerability's impact is contingent on the specific code compiled within varstored, particularly when default settings are applied, creating an avenue for unauthorized access that could compromise the integrity of virtual machine environments.
Affected Version(s)
varstored Linux all
References
More analysed vulnerabilities
Browse all analysed vulnerabilities ›CVSS V4
Timeline
Vulnerability published
Vulnerability Reserved