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
Share

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
qualitative
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

Lifecycle Timeline

2
Analysis Generated
Jul 23, 2026 - 21:14 vuln.today
CVE Published
May 12, 2026 - 16:59 nvd
CRITICAL 9.3

DescriptionCVE.org

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

AnalysisAI

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.

Technical ContextAI

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.

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.

CVE-2026-33824 CRITICAL POC
9.8 Apr 14

Remote code execution in Windows IKE Extension (Internet Key Exchange) via double free memory corruption allows unauthen

CVE-2026-32202 MEDIUM POC
4.3 Apr 14

Windows Shell protection mechanism failure (CVE-2026-32202) allows remote attackers to perform spoofing attacks over a n

CVE-2026-41096 CRITICAL
9.8 May 12

Remote code execution in Microsoft Windows DNS lets an unauthenticated attacker corrupt heap memory over the network and

CVE-2026-32225 HIGH
8.8 Apr 14

Windows Shell security feature bypass enables unauthenticated remote attackers to defeat protection mechanisms across al

CVE-2026-41088 HIGH
7.8 May 12

Local privilege escalation in the Windows Ancillary Function Driver for WinSock (afd.sys) allows an already-authenticate

CVE-2026-33841 HIGH
7.8 May 12

Local privilege escalation in Windows Kernel across Windows 10, Windows 11 (versions 22H3 through 26H1), and Windows Ser

CVE-2026-40398 HIGH
7.8 May 12

Local privilege escalation in the Windows Remote Desktop component (CWE-122 heap-based buffer overflow) allows an authen

CVE-2026-40403 HIGH
8.8 May 12

Local privilege escalation in the Win32K GRFX (graphics) subsystem of Microsoft Windows allows an authenticated, low-pri

CVE-2026-33829 MEDIUM POC
4.3 Apr 14

Windows Snipping Tool leaks sensitive information to unauthenticated network attackers via user interaction, enabling sp

CVE-2026-40415 HIGH
8.1 May 12

Remote code execution in the Microsoft Windows TCP/IP stack allows an unauthenticated network attacker to trigger a use-

CVE-2026-33827 HIGH
8.1 Apr 14

Remote code execution in Windows TCP/IP networking stack across Windows 10, 11, and Server versions allows unauthenticat

CVE-2026-34340 HIGH
7.0 May 12

Local privilege escalation in the Windows Projected File System (ProjFS) affects the full supported Windows line — Windo

Share

CVE-2026-40402 vulnerability details – vuln.today

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