Skip to main content
Mallory
HighExploited in the wildCISA KEVPublic exploitVulnerability

CVE-2025-21333: Heap-based buffer overflow in Windows Hyper-V NT Kernel Integration VSP

Published Jan 14, 2025 · Updated 2 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS7.8High · v3.1
EPSS5.4%93rd percentile
CISA KEVYesAdded Jan 14, 2025
In the wildActivePer CISA KEV
Vendor
Microsoft Corporation
IdentifiersCVE-2025-21333CWE-122 · Heap-based Buffer Overflow

CVE-2025-21333 is a heap-based buffer overflow in the Windows Hyper-V NT Kernel Integration Virtual Service Provider (VSP) that enables local elevation of privilege to SYSTEM. The affected component supports communication between the host operating system and container-type virtual machines, including Windows Sandbox and Microsoft Defender Application Guard, rather than traditional Hyper-V virtual machines. A described public proof of concept uses heap grooming and an oversized buffer to corrupt an adjacent kernel object. Microsoft explicitly identifies the vulnerability as not being a guest-to-host escape, contradicting secondary descriptions of guest-to-host exploitation. The vulnerability was actively exploited when disclosed in January 2025.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

A local attacker with low privileges can obtain SYSTEM privileges without user interaction, potentially compromising system confidentiality, integrity, and availability. Guest-to-host escape claims conflict with Microsoft's explicit statement that this vulnerability does not provide such an escape.

Mitigation

If you can’t patch tonight, do this now.

If immediate patching is not possible, reduce exposure by restricting the ability to run untrusted code in Hyper-V guest VMs or Windows Sandbox instances, limiting access to systems with Hyper-V enabled, and minimizing use of guest environments on sensitive hosts until updates are deployed. Additional hardening should focus on isolating high-value hosts from untrusted virtualized workloads. Specific vendor workaround information beyond patching is currently not available.

Remediation

Patch, then assume compromise.

Install the applicable Microsoft Windows security updates addressing CVE-2025-21333, released in the January 14, 2025 update cycle, or subsequent applicable updates. Specific affected builds, fixed versions, and update identifiers are not available.

Public exploits

Exploits

5 exploits validated by Mallory's analysis. Hidden: 1 rejected by Mallory's analysis as not a working exploit; 1 not yet analyzed, such as Exploit-DB entries.

View more in app →
Ashwesker-CVE-2025-21333This repository contains a working proof-of-concept (POC) exploit for CVE-2025-21333, a heap-based buffer overflow vulnerability in the Windows Hyper-V NT Kernel Integration Virtualization Service Provider (VSP). The exploit is implemented in C++ (main file: CVE-2025-21333.cpp) and is designed to be compiled and run on a vulnerable Windows system. The exploit leverages advanced manipulation of Windows kernel objects, including the Windows Notification Facility (WNF), named pipes, and process tokens, to achieve local privilege escalation from a low-privileged user or VM context to SYSTEM on the Hyper-V host. The README provides detailed background, affected systems, and usage instructions, including how to verify vulnerable binaries and run the exploit. The exploit uses named pipes (\\.\pipe\IoRingExploitOutput and \\.\pipe\IoRingExploitInput) for communication and targets specific system files (vkrnlintvsp.sys and ntoskrnl.exe) for fingerprinting and exploitation. The codebase includes supporting header files (Hexdump.hpp, wnf.h) and Visual Studio project files for building the exploit. This is a mature, operational exploit that provides a SYSTEM shell if successful.Ashwesker · Disclosed Jun 11, 2025 · cpp · h · localOperationalBlackash-CVE-2025-21333This repository contains a functional proof-of-concept (POC) exploit for CVE-2025-21333, a heap-based buffer overflow in the Windows Hyper-V NT Kernel Integration Virtualization Service Provider (VSP). The exploit is implemented in C++ and is structured as a Visual Studio project, with the main logic in 'CVE-2025-21333.cpp' and supporting headers ('Hexdump.hpp', 'wnf.h'). The exploit leverages advanced Windows kernel features, including the Windows Notification Facility (WNF), IO rings, and named pipes, to manipulate kernel memory and escalate privileges from a VM context to SYSTEM on the Hyper-V host. The README provides detailed background, affected systems, and usage instructions, including example output showing successful SYSTEM shell access. The exploit targets unpatched Windows 10/11 and Server 2022/2025 Hyper-V hosts and requires local access from a VM. Notable fingerprintable endpoints include named pipes (\\.\pipe\IoRingExploitOutput, \\.\pipe\IoRingExploitInput) and references to key system files (vkrnlintvsp.sys, ntoskrnl.exe) for version/hash checking. The code is operational and demonstrates a full privilege escalation chain, making it a high-impact exploit for vulnerable environments.B1ack4sh · Disclosed Jun 11, 2025 · cpp · h · localOperationalCVE-2025-21333Repository is a standalone Windows local kernel exploit for CVE-2025-21333, not tied to a common exploitation framework. Structure is small and focused: README.md documents the exploit approach and references an earlier PoC; exp/build.bat compiles the project with MSVC; exp/main.cpp contains the main exploitation flow; exp/helper.c and exp/helper.h implement NT API loading, heap spraying helpers, WNF manipulation, pipe/IoRing primitives, and kernel read/write support; exp/hexdump.c and exp/hexdump.h provide debugging output. The exploit targets Windows kernel heap corruption. Based on the code and README, it improves on an earlier public PoC by using Microsoft Defender Application Guard / IsolatedAppLauncher APIs to obtain a sandbox/container GUID instead of opening a Windows Sandbox process. The main flow in exp/main.cpp loads NT functions from ntdll.dll, obtains the container GUID, raises process/thread priority, sprays large numbers of WNF state objects into paged pool, frees selected WNF objects to create holes, crafts oversized ACL-backed object data to overflow into adjacent allocations, and then pivots into pipe attribute and IoRing object corruption. The helper code shows the intended post-corruption capabilities: arbitrary kernel read via fake/corrupted pipe_attribute structures and arbitrary kernel read/write via forged IoRing-related IOP_MC_BUFFER_ENTRY state. Hardcoded kernel offsets in helper.h (for NPFS and nt offsets such as PsInitialSystemProcess and PoolQuotaCookie) indicate the exploit is tuned to specific Windows kernel builds and is not broadly portable without adjustment. Named pipes \\.\pipe\IoRingExploitInput and \\.\pipe\IoRingExploitOutput are explicit local endpoints used during exploitation. Overall, this is an operational local privilege-escalation style exploit with real exploitation primitives rather than a mere detector or crash PoC.nu1lptr0 · Disclosed May 5, 2026 · markdown · batch · localOperationalCVE-2025-21333Repository contains a Windows local privilege escalation PoC for CVE-2025-21333, a heap-based buffer overflow in the Hyper-V NT Kernel Integration VSP component vkrnlintvsp.sys. Structure is minimal: one large C++ exploit source file (main logic), one small Hexdump helper header, a README documenting vulnerability details and lab-specific adjustments, and .gitattributes. The exploit is not part of a common framework. The main file, CVE-2025-21333-POC.cpp, is a standalone Windows-native exploit using low-level APIs and headers such as Windows.h, ioringapi.h, DbgEng.h, aclapi.h, UserEnv.h, and WNF-related definitions. It implements a full exploitation chain rather than mere detection. Based on constants and comments, it is tuned for Windows 11 23H2 build 22631.3447 and uses hardcoded kernel structure offsets (EPROCESS fields, token privilege offsets, ntoskrnl and NPFS offsets). This indicates strong build dependence. Core capability: the exploit performs heap grooming with large WNF state sprays, triggers the vulnerable path using a crafted oversized ACL, corrupts adjacent WNF state data, frees selected allocations to create holes, and reclaims them with IoRing registered buffers (IrRB) and named pipe attributes (NpAt). It then overwrites a RegBuffers entry so an IoRing object references a user-controlled fake IOP_MC_BUFFER_ENTRY, yielding arbitrary kernel read/write. With that primitive, it locates process/token structures and modifies token data to elevate privileges to SYSTEM. The README states successful exploitation can produce a visible SYSTEM shell using CreateProcessAsUser with TokenSessionId and winsta0\Default. Fingerprintable targets/endpoints in code are local named pipes \\.\pipe\IoRingExploitOutput and \\.\pipe\IoRingExploitInput, used during the pipe spray/reallocation phase. No external C2, remote network targets, or internet callbacks are present; this is a purely local kernel exploit. The README also references Windows Sandbox as a prerequisite because the vulnerable syscall path must reach vkrnlintvsp.sys through Cross-VM event creation. Overall, this is an operational lab PoC for local exploitation on specific vulnerable Windows builds, not a weaponized framework module. It includes a real payload path (kernel arbitrary read/write leading to SYSTEM token manipulation), but customization is manual and environment-specific.uname1able · Disclosed Jul 16, 2026 · cpp · markdown · localOperationalCVE-2025-21333-POCThis repository is a Proof-of-Concept (POC) exploit for CVE-2025-21333, a heap-based buffer overflow vulnerability in the Windows driver vkrnlintvsp.sys. The exploit is implemented in C++ and is structured as a Visual Studio project, with the main logic in 'CVE-2025-21333-POC.cpp' and supporting headers. The exploit works by manipulating kernel memory structures (specifically, an array of pointers to _IOP_MC_BUFFER_ENTRY) to achieve arbitrary kernel read/write via I/O Ring syscalls. It then leverages this primitive to steal the SYSTEM token and spawn a SYSTEM shell, providing local privilege escalation on Windows 11 23H2 (and possibly 24H2) with the vulnerable driver and Windows Sandbox enabled. The README provides detailed technical background, requirements, hashes of tested binaries, and step-by-step usage instructions. The exploit is not weaponized and is intended for research and demonstration purposes. Notable fingerprintable endpoints include the vulnerable driver path, kernel binary, and named pipes used for exploit communication.MrAle98 · Disclosed Feb 27, 2025 · cpp · h · localPoC
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Microsoft CorporationWindows 10 21h2operating_system
Microsoft CorporationWindows 10 22h2operating_system
Microsoft CorporationWindows 11 22h2operating_system
Microsoft CorporationWindows 11 23h2operating_system
Microsoft CorporationWindows 11 24h2operating_system
Microsoft CorporationWindows Server 2022 23h2operating_system
Microsoft CorporationWindows Server 2025operating_system
Microsoft CorporationWindows Server 23h2operating_system
FAQ

Frequently asked questions

Is CVE-2025-21333 exploited in the wild?
Yes. As of Oct 10, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Jan 14, 2025.
Is there a public exploit for CVE-2025-21333?
Yes. Mallory tracks 5 public exploits or proofs of concept for CVE-2025-21333, the earliest disclosed Feb 27, 2025.
Is there a patch for CVE-2025-21333?
Install the applicable Microsoft Windows security updates addressing CVE-2025-21333, released in the January 14, 2025 update cycle, or subsequent applicable updates. Specific affected builds, fixed versions, and update identifiers are not available.
What products are affected by CVE-2025-21333?
Microsoft Corporation Windows 10 21h2, Microsoft Corporation Windows 10 22h2, Microsoft Corporation Windows 11 22h2, Microsoft Corporation Windows 11 23h2, Microsoft Corporation Windows 11 24h2, and 3 more.
How severe is CVE-2025-21333?
CVE-2025-21333 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 5.4% (93rd percentile) as of Oct 10, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signatures1YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity6Community discussion across Reddit, Mastodon, and other social sources.