Skip to main content

Windows Hyper-V CVE-2026-40402

| EUVDEUVD-2026-29663 CRITICAL
Use After Free (CWE-416)
2026-05-12 microsoft GHSA-h659-hh52-mv97
9.3
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain code execution in Hyper-V guest
  2. Delivery
    Issue crafted operation to host stack
  3. Exploit
    Trigger use-after-free in freed object
  4. Execution
    Reuse freed memory to corrupt host state
  5. Impact
    Elevate to SYSTEM / escape to host

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the Hyper-V role to be enabled and the attacker to already be able to execute code locally, in practice within a guest VM whose crafted operations reach the vulnerable host-side Hyper-V code path (use-after-free). What limits exploitation: it is not remotely reachable (AV:L), it is not automatable per CISA SSVC, and it is irrelevant to systems that do not run Hyper-V or that only host fully trusted guests. Although CVSS marks PR:N, the practical prerequisite of running code inside a guest means untrusted-guest deployments are the real exposure - verify the exact privilege requirement against Microsoft's advisory.

Impact

The signals are mixed and worth reconciling. CVSS is 9.3 critical with AV:L/AC:L/PR:N/UI:N and a scope change (S:C), and CISA SSVC rates Technical Impact as 'total' - consistent with a full guest-to-host compromise. However, SSVC also records Exploitation: none and Automatable: no, and EPSS is only 0.04% (14th percentile), so despite the high CVSS this is not currently seeing exploitation and is not mass-exploitable. The vector is local (AV:L), meaning an attacker must already run code somewhere on the system/guest, which materially lowers real-world urgency versus a remote-unauthenticated bug. One tension to flag: the CVSS marks PR:N ('unauthorized attacker'), yet a Hyper-V elevation realistically requires the ability to execute code within a guest VM - verify the intended privilege prerequisite with Microsoft's advisory. Net: a genuine high-priority patch for hosts running Hyper-V with untrusted guests, but not an emergency for systems without multi-tenant or untrusted virtualization workloads.

Exploit ScenarioDerived

An attacker who has already gained code execution inside a Hyper-V guest VM (e.g., a low-privilege tenant or a compromised workload) triggers the use-after-free in the host-side virtualization stack, reusing freed memory to corrupt a host object and elevate to SYSTEM/host privileges, breaking VM isolation. No public exploit identified at time of analysis, and the local attack vector with low complexity (AV:L/AC:L) means no user interaction is needed once the attacker has that foothold.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 23, 2026

Local privilege escalation in Microsoft Windows Hyper-V (Windows 11 22H3/23H2 and Windows Server 2022) stems from a use-after-free memory corruption flaw that lets an attacker executing code in a guest context elevate privileges with a scope-changing impact on the host. Microsoft has released fixed builds and rates this critical (CVSS 9.3, total technical impact per CISA SSVC), but there is no public exploit identified at time of analysis and EPSS probability is very low (0.04%). The scope change (S:C) combined with the Hyper-V attack surface is consistent with a guest-to-host virtualization boundary escape.

RemediationAI

Vendor-released patch: apply the Microsoft cumulative update raising builds to at least 10.0.20348.5139 on Windows Server 2022 and 10.0.22631.7079 on Windows 11 22H3/23H2, per the MSRC advisory at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-40402. Because exploitation requires code execution in a guest context, the most effective compensating control until patching is to restrict who can run untrusted workloads inside Hyper-V VMs - avoid hosting untrusted or multi-tenant guests on unpatched hosts, and where feasible temporarily consolidate untrusted guests onto already-patched hosts (trade-off: migration overhead and reduced capacity). Where Hyper-V is not required, disabling the Hyper-V role removes the attack surface entirely (trade-off: breaks any dependent virtualization, WSL2, or container features). Additional advisory references: https://vuldb.com/vuln/363194 and https://nvd.nist.gov/vuln/detail/CVE-2026-40402.

Affected VersionsENISA

Windows Server 2022 10.0.20348.0 <10.0.20348.5139
Windows 11 Version 23H2 10.0.22631.0 <10.0.22631.7079
Windows 11 version 22H3 10.0.22631.0 <10.0.22631.7079

Affected Packages

euvd windows_11_version_22h3 fix: 10.0.22631.7079
euvd windows_11_version_23h2 fix: 10.0.22631.7079
euvd windows_server_2022 fix: 10.0.20348.5139

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 3 packages in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Hyper-V is Microsoft's type-1 (bare-metal) hypervisor that partitions a host into isolated guest virtual machines; the security boundary between a guest and the host root partition is one of the most sensitive in Windows. The root cause is CWE-416 (Use After Free): a kernel/hypervisor object is freed while a dangling reference remains, and subsequent reuse of that freed memory allows an attacker to corrupt control data or object pointers. In a virtualization stack this class of bug is dangerous because manipulating freed host-side objects from guest-triggered code paths can break VM isolation. Per the CPE data the affected components are Microsoft Windows 11 version 22H3, Windows 11 version 23H2, and Windows Server 2022 - all shipping the same vulnerable Hyper-V virtualization stack.

Know when Windows Server 2022 gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 9.3 CRITICAL
AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
ENISA EUVD HIGH
vuln.today AI 8.8 HIGH

Attacker must run code in a guest (AV:L, PR:L), no interaction needed (UI:N); guest-to-host escape justifies S:C with total C/I/A impact.

3.1 AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

Use after free in Windows Hyper-V allows an unauthorized attacker to elevate privileges locally.

Executive ViewAI

Why It Matters

Microsoft Windows Hyper-V contains a critical local privilege escalation vulnerability (CVE-2026-40402) affecting Windows 11 and Server 2022 that enables guest virtual machines to escape containment and compromise the host system, with no public exploit identified at time of analysis. With a CVSS score of 9.3 and scope change from guest to host, this represents a significant threat to virtualization infrastructure security across any organization running Hyper-V environments. A vendor patch is available, enabling immediate remediation to prevent host system compromise.

Business Impact: Severe
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 86% exploitable
Prevalence
High
Windows Server 2022 and Windows 11 are widely deployed; Hyper-V common in enterprise virtualization
Threat Intel
2
1 sources
Vendor Status
Publicly Disclosed:No
Exploited:No
Latest Software Release:Exploitation Less Likely
Data Quality
7 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

51
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: +5

Attack Technique

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

CVE-2021-40444 HIGH POC
8.8 Sep 15

Windows MSHTML component contains a remote code execution vulnerability that allows attackers to craft malicious ActiveX

CVE-2021-34527 HIGH POC
8.8 Jul 02

<p>A remote code execution vulnerability exists when the Windows Print Spooler service improperly performs privileged fi

CVE-2022-30190 HIGH POC
7.8 Jun 01

Windows MSDT (Microsoft Support Diagnostic Tool) allows remote code execution when called via the ms-msdt URL protocol f

CVE-2023-36884 HIGH POC
7.5 Jul 11

Windows Search Remote Code Execution Vulnerability. Rated high severity (CVSS 7.5), this vulnerability is remotely explo

CVE-2024-21412 HIGH POC
8.1 Feb 13

Internet Shortcut Files Security Feature Bypass Vulnerability. Rated high severity (CVSS 8.1), this vulnerability is rem

CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2024-30088 HIGH POC
7.0 Jun 11

Windows Kernel contains a TOCTOU race condition vulnerability allowing local privilege escalation, exploited by the OilR

CVE-2021-42278 HIGH POC
7.5 Nov 10

Active Directory Domain Services Elevation of Privilege Vulnerability. Rated high severity (CVSS 7.5), this vulnerabilit

CVE-2025-33053 HIGH POC
8.8 Jun 10

Windows Internet Shortcut Files (.url) contain an external control vulnerability (CVE-2025-33053, CVSS 8.8) that enables

CVE-2025-33073 HIGH POC
8.8 Jun 10

Windows SMB contains an improper access control vulnerability (CVE-2025-33073, CVSS 8.8) enabling authenticated attacker

CVE-2021-42287 HIGH
7.5 Nov 10

Active Directory Domain Services Elevation of Privilege Vulnerability. Rated high severity (CVSS 7.5), this vulnerabilit

CVE-2024-21338 HIGH POC
7.8 Feb 13

Windows Kernel Elevation of Privilege Vulnerability. Rated high severity (CVSS 7.8), this vulnerability is low attack co

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy