CVE-2025-21334 — Microsoft Windows Hyper-V NT Kernel Integration VSP Use-After-Free Vulnerability

CVE-2025-21334

Windows Hyper-V NT Kernel VSP — UAF Guest-to-Host LPE; January 2025 Patch Tuesday (One of Three Simultaneous Hyper-V Zero-Days)

What is Hyper-V's NT Kernel Integration VSP?

The NT Kernel Integration Virtual Service Provider (VSP) is a host-side Hyper-V component that handles VMBus communication between guest VMs and the host Windows kernel. It runs at kernel privilege on the Hyper-V host partition. Vulnerabilities in the VSP that process guest-supplied data can enable guest-to-host privilege escalation — an attacker inside a VM can exploit the vulnerability to gain SYSTEM access on the host kernel.

Overview

CVE-2025-21334 is a use-after-free vulnerability (CWE-416) in the Windows Hyper-V NT Kernel Integration VSP — the second of three simultaneous Hyper-V VSP zero-days patched in the January 2025 Patch Tuesday alongside CVE-2025-21333 (heap overflow) and CVE-2025-21335 (UAF). All three allow a locally authenticated attacker within a guest VM to escalate privileges and potentially escape the VM to gain SYSTEM on the Hyper-V host. See CVE-2025-21333 for the broader context on this vulnerability cluster.

Affected Versions

Product Vulnerable Fixed
Windows 10 / 11 with Hyper-V Before January 2025 cumulative update January 2025 cumulative update
Windows Server 2016–2025 with Hyper-V Before January 2025 cumulative update January 2025 cumulative update

Technical Details

The use-after-free (CWE-416) in the NT Kernel Integration VSP occurs during VMBus message processing. A kernel object allocated to handle guest VM communication is freed while a reference to it is retained in a related host kernel data structure. By carefully timing VMBus operations from within the guest VM (controlling when objects are freed and what data occupies the freed memory via heap grooming), an attacker causes the host kernel to dereference stale pointers containing guest-controlled data — enabling host kernel code execution.

The Low attack complexity (AC:L) reflects that the exploit was reliably weaponized before the patch. The vulnerability differs from CVE-2025-21333 in its memory corruption mechanism (UAF vs. heap overflow) but achieves the same outcome: host kernel privilege escalation from a guest VM.

Exploitation Context

Confirmed zero-day exploitation before January 14, 2025. Three simultaneous Hyper-V zero-days in one Patch Tuesday is historically unusual and indicates deep vulnerability research in the Hyper-V VSP codebase. CISA added all three to the KEV catalog simultaneously.

Remediation

  1. Apply the January 2025 cumulative update — this patches all three Hyper-V VSP CVEs in a single update. The CISA deadline was February 4, 2025.
  2. Apply all three companion patches: CVE-2025-21333, CVE-2025-21334, and CVE-2025-21335 are all included in the same January 2025 cumulative update.
  3. Isolate untrusted VMs on separate physical hosts — guest-to-host escape is the core attack scenario.
  4. Monitor Hyper-V host kernel integrity and review for unexpected VSP crashes or host-level anomalies before the patch date.

Key Details

PropertyValue
CVE ID CVE-2025-21334
Vendor / Product Microsoft — Windows
NVD Published2025-01-14
NVD Last Modified2025-10-27
CVSS 3.1 Score7.8
CVSS 3.1 VectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
SeverityHIGH
CWE CWE-416 find similar ↗
CISA KEV Added2025-01-14
CISA KEV Deadline2025-02-04
Known Ransomware Use No

CVSS 3.1 Breakdown

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

Required Action

CISA BOD 22-01 Deadline: 2025-02-04. Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

Timeline

DateEvent
2025-01-14Patched in January 2025 Patch Tuesday; CISA adds to KEV (zero-day — companion to CVE-2025-21333 and CVE-2025-21335)
2025-02-04CISA BOD 22-01 remediation deadline