CVE-2025-58151 - CVE House
Back to Database
Status published Critical CVE-2025-58151

varstored: TOCTOU issues with mapped guest memory

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2025-58151

Credits & Attribution

The following person or organization is credited with identifying this vulnerability, as recorded in the NVD database:

  • This issue was discovered by Teddy Astie of Vates.

Affected Vendor

Affected Software

varstored
Vulnerable Versions:
all

Timeline

Official Publish: July 9th, 2026
Last Modified: July 9th, 2026
Added to House: July 22nd, 2026

CVSS Vectors

Weaknesses (CWE)