VMScape: New Spectre-Style Attack Threatens Cloud Virtualization Security
A newly discovered side-channel attack dubbed VMScape is raising alarms across the cybersecurity and cloud infrastructure community. Developed by researchers at ETH Zurich, VMScape can break the long-trusted isolation between virtual machines (VMs) and their hypervisors on modern AMD and Intel CPUs—posing a serious risk to multi-tenant cloud environments.
What Is VMScape?
VMScape is a Spectre-style speculative execution attack that enables a malicious VM to steal sensitive data—such as cryptographic keys—from an unmodified QEMU hypervisor process. Unlike previous attacks, VMScape bypasses existing Spectre mitigations and doesn’t require compromising the host itself. A threat actor could, in theory, rent a VM from a cloud provider and exfiltrate data from the hypervisor or adjacent VMs.
Who Is Affected
Researchers found the attack affects:
• AMD CPUs from Zen 1 through Zen 5
• Intel CPUs up to “Coffee Lake”
(Newer Intel “Raptor Cove” and “Gracemont” cores are not affected.)
This widespread impact is especially concerning given how central virtualization is to today’s cloud infrastructure.
How VMScape Works
VMScape exploits incomplete isolation of branch prediction units (BPUs) in modern CPUs. While BPUs were designed to mitigate speculative execution attacks, ETH Zurich discovered that guest VMs can still influence the host’s indirect branch prediction through shared structures such as:
• Branch Target Buffer (BTB)
• Indirect Branch Predictor / Indirect Target Array
• Branch History Buffer (BHB)
Using a Spectre-BTI (Branch Target Injection) attack, VMScape misguides QEMU into speculatively executing a disclosure gadget. This leaks sensitive data into shared reload buffers, which the attacker can then retrieve via a FLUSH+RELOAD cache side channel.
Researchers achieved:
• 32 bytes/second leakage rate
• 98.7% byte-level accuracy
• Extraction of a 4KB secret in ~128 seconds (or ~13 minutes including ASLR bypass)
Why It Matters
Virtualization underpins almost every public and private cloud platform. Breaking guest-host isolation undermines the core trust model of cloud computing. While VMScape requires advanced skills and extended execution time, it demonstrates that hardware-assisted isolation is still vulnerable to speculative execution leaks—even with mitigations enabled.
Vendor & Open-Source Response
The ETH Zurich team disclosed VMScape to AMD and Intel on June 7, 2025, under CVE-2025-40300.
• AMD issued a security bulletin acknowledging the issue.
• Linux kernel developers released a patch adding an Indirect Branch Prediction Barrier (IBPB) on VMEXIT to flush BPUs when switching from guest to host. Researchers report minimal performance impact from the mitigation on common workloads.
Defending Against VMScape
Security teams managing virtualization or cloud infrastructure should:
• Apply the latest kernel and hypervisor patches as soon as available.
• Monitor CPU vendor security advisories (AMD, Intel) for updates.
• Harden multi-tenant environments by isolating sensitive workloads where possible.
• Use hardware with improved branch prediction isolation (newer Intel cores or future AMD CPUs).
Key Takeaway
VMScape underscores the ongoing cat-and-mouse game between speculative execution attacks and mitigations. For CISOs, cloud architects, and security engineers, the lesson is clear: hardware vulnerabilities can bypass even strong software defenses. Continuous patching, isolation, and threat modeling remain essential for protecting sensitive workloads in virtualized environments.












