Windows Hyper-V Remote Code Execution Vulnerability (CVE-2026-21248)
A heap-based buffer overflow exists in Windows Hyper-V. An attacker with low privileges who convinces a user to load a crafted file could execute code locally.
Originally disclosed on Microsoft
Description
Heap-based buffer overflow in Windows Hyper-V allows an authorized attacker to execute code locally.
FAQ
According to the CVSS metric, user interaction is required (UI:R) and privileges required is Low (PR:L). What does that mean for this vulnerability? The file must be stored in a location that allows an attacker write access, enabling the file to be corrupted. An attacker must send a user a crafted file and convince them to load it.
FAQ
According to the CVSS metric, the attack vector is local (AV:L). Why does the CVE title indicate that this is a remote code execution? The word Remote in the title refers to the location of the attacker. This type of exploit is sometimes referred to as Arbitrary Code Execution (ACE). The attack itself is carried out locally. This means an attacker or victim needs to execute code from the local machine to exploit the vulnerability.
Role: Windows Hyper-V
Role: Windows Hyper-V
Microsoft
Microsoft
Customer Action Required
Yes
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely a heap-based buffer overflow where a crafted file is processed without proper bounds checking.
Impact
An attacker with low privileges could execute code locally, but only after convincing a user to load a crafted file.
What the attacker needed
Attacker has low privileges; write access to a file location; victim loads a crafted file
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
Hyper-V is Microsoft's tool for running virtual machines on Windows. A buffer overflow means a program writes more data into a memory area than it can hold, which can let an attacker take control of the program. Here the attacker needs to get a crafted file onto the machine and persuade someone to open it.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.