
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-40300 is a speculative execution vulnerability in the Linux kernel known as VMSCAPE (VMexit Spectre Branch Target Injection), which exploits insufficient branch predictor isolation between a guest virtual machine and a userspace hypervisor such as QEMU. The flaw allows a malicious guest to poison branch predictors during VM exits, which are then consumed by the userspace hypervisor process, enabling potential information disclosure. It was publicly disclosed on September 11, 2025, and affects Linux kernel versions from 4.16 through multiple stable branches up to 6.16.x, as well as Microsoft Azure Linux and IBM Netezza Appliance systems. The vulnerability carries a CVSS v3.1 base score of 5.5 (Medium), reflecting a local attack vector with low privileges required (Red Hat CVE, Microsoft MSRC).
VMSCAPE is classified under CWE-402 (Transmission of Private Resources into a New Sphere / Resource Leak) and is a Spectre Branch Target Injection (BTI) variant targeting the x86 virtualization boundary. When a guest VM triggers a VMexit, the CPU's branch predictor state is not adequately flushed before control returns to the userspace hypervisor (e.g., QEMU), allowing a malicious guest to have pre-poisoned the branch predictor with attacker-controlled targets. The fix introduces a conditional Indirect Branch Predictor Barrier (IBPB) issued after VMexit and before returning to userspace, preventing the poisoned predictor state from being exploited. Exploitation requires local access with low privileges — specifically the ability to run code inside a guest VM — and targets x86-based systems running userspace hypervisors. The ETH Zurich COMSEC group published a detailed research paper on the attack (COMSEC ETH Zurich).
Successful exploitation allows a malicious guest VM to read sensitive memory from the userspace hypervisor process (e.g., QEMU) through speculative execution side channels, potentially exposing cryptographic keys, credentials, or other sensitive data processed by the hypervisor. While existing kernel and KVM mitigations protect the kernel itself from guest-initiated attacks, the userspace hypervisor layer remains exposed without the new IBPB mitigation. In cloud environments where multiple tenants share physical hosts, this vulnerability poses a meaningful cross-tenant data leakage risk, as a guest could potentially infer hypervisor memory contents belonging to other VMs or the host operator (Red Hat CVE, COMSEC ETH Zurich).
No confirmed in-the-wild exploitation has been reported, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. A blog post describing the VMSCAPE Spectre BTI attack has been identified as a potential proof-of-concept reference (CyberBivash Blog), though no weaponized exploit code is publicly known. The EPSS score is approximately 0.032% (0.000320), indicating a low probability of exploitation in the near term. Exploitation requires the attacker to control code executing inside a guest VM on an affected host, limiting the attack surface to virtualized environments running userspace hypervisors on unpatched kernels (Red Hat CVE).
Due to the nature of this speculative execution side-channel attack, traditional IOCs are limited. No specific network, file system, or registry artifacts are associated with exploitation. Defenders should focus on behavioral and configuration-based detection:
Apply updated Linux kernel packages containing the conditional IBPB mitigation for the x86/vmscape vulnerability. Fixed versions across stable branches include: 5.10.244, 5.15.193, 6.1.152, 6.6.106, 6.12.47, and 6.16.7. Vendor-specific patches are available from Red Hat (RHSA-2025:19930, RHSA-2025:19931, RHSA-2025:19932, and subsequent advisories), Ubuntu (USN-7850-1, USN-7853-2/3, USN-7854-1, USN-7861-x, USN-7863-1, USN-7864-1, USN-7865-1, USN-7874-x, USN-7875-1, USN-7910-x, USN-7933-1, USN-7934-1, USN-7937-1, USN-7938-1, USN-7939-x, USN-7940-x), Microsoft Azure Linux, Debian, AlmaLinux, Rocky Linux, Oracle Linux, and Slackware. As a workaround for systems that cannot be immediately patched, restrict guest VM creation and management to trusted users only, and consider disabling userspace hypervisors on sensitive hosts until patching is complete (Red Hat CVE, Microsoft MSRC, IBM Advisory).
The VMSCAPE vulnerability received significant media and research community attention upon disclosure on September 11, 2025. The ETH Zurich COMSEC group, credited with discovering the vulnerability, published a detailed research paper explaining the attack mechanics and its implications for cloud security (COMSEC ETH Zurich). Major security outlets including BleepingComputer, The Register, SecurityWeek, TechRadar, CSO Online, and The Hacker News covered the disclosure, with headlines emphasizing the threat to cloud isolation on AMD and Intel CPUs (BleepingComputer, SecurityWeek). Kaspersky published a blog post analyzing the attack, and the UK NCSC included it in their weekly security summary. Google Cloud also issued a security bulletin in response to the disclosure (Google Cloud). Community discussion on Mastodon and security forums noted the Spectre-like nature of the flaw and the performance overhead implications of the IBPB mitigation for workloads with frequent hypervisor/userspace context switches.
Fix availability across major Linux distributions and their releases.
bionic (esm-infra)
linux: 4.15.0-243.255
bionic (fips-updates)
linux-fips: 4.15.0-1141.153
bionic (fips)
linux-fips
devel
linux
focal (esm-infra)
linux: 5.4.0-223.243
focal (fips-updates)
linux-fips: 5.4.0-1126.136
focal (fips)
linux-fips
jammy
linux-azure-fde
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."