CVE-2022-21887 Overview
CVE-2022-21887 is an elevation of privilege vulnerability in the Win32k component of Microsoft Windows 11. The flaw allows a local, authenticated attacker to escalate privileges on an affected system. Microsoft published the advisory on January 11, 2022 as part of its monthly security update cycle.
Win32k is the kernel-mode driver (win32k.sys) that handles the Windows graphical subsystem and user-mode input. Successful exploitation grants the attacker the ability to execute code with elevated privileges, compromising confidentiality, integrity, and availability of the host.
Critical Impact
A local attacker with low-privileged access can elevate to higher privileges on Windows 11 systems, enabling full host compromise from a foothold account.
Affected Products
- Microsoft Windows 11 (x64)
- Microsoft Windows 11 (ARM64)
- Systems running vulnerable versions of the win32k.sys kernel driver
Discovery Timeline
- 2022-01-11 - CVE-2022-21887 published to NVD
- 2022-01-11 - Microsoft releases security patch via January 2022 Patch Tuesday
- 2024-11-21 - Last updated in NVD database
Technical Details for CVE-2022-21887
Vulnerability Analysis
The vulnerability resides in the Win32k subsystem, a kernel-mode component that handles window management, graphics device interface (GDI), and user input. Win32k has historically been a frequent target for local privilege escalation due to its large attack surface and its role bridging user mode and kernel mode.
Exploitation requires the attacker to already have local code execution as a low-privileged user. The attack vector is local, attack complexity is low, and no user interaction is required. A successful exploit grants kernel-level privileges, allowing the attacker to disable security software, install persistent implants, or move laterally.
The EPSS probability for this CVE is approximately 0.46%, indicating relatively low predicted exploitation activity, though local privilege escalation flaws in Win32k are routinely weaponized in post-exploitation chains.
Root Cause
Microsoft has not published detailed root-cause information for CVE-2022-21887. The CWE is classified as NVD-CWE-noinfo. Based on the affected component (win32k.sys) and the impact profile, the issue is consistent with kernel-mode object handling flaws common to Win32k, such as improper validation of user-mode supplied pointers, callbacks, or window objects.
Attack Vector
An attacker first obtains local execution on the target through phishing, a malicious document, or compromised credentials. The attacker then invokes a crafted sequence of Win32k system calls or GDI operations that triggers the flaw. Following exploitation, the attacker executes arbitrary code in the kernel context (NT AUTHORITY\SYSTEM).
No public proof-of-concept or exploit code is currently associated with CVE-2022-21887, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. Refer to the Microsoft CVE-2022-21887 Update Guide for vendor technical details.
Detection Methods for CVE-2022-21887
Indicators of Compromise
- Unexpected processes running as NT AUTHORITY\SYSTEM that were spawned from medium- or low-integrity parent processes
- Anomalous crashes or bug checks referencing win32k.sys or win32kfull.sys in the Windows Event Log
- Newly created services, scheduled tasks, or drivers shortly after a low-privileged user session begins
Detection Strategies
- Monitor for token manipulation patterns where a process token is replaced with a SYSTEM token without a corresponding legitimate parent
- Hunt for unusual sequences of Win32k syscalls originating from non-GUI processes
- Correlate kernel-mode crash dumps with subsequent privilege changes on the same host
Monitoring Recommendations
- Enable Windows kernel auditing and forward Microsoft-Windows-Kernel-General and Security event channels to a centralized log platform
- Track installation of win32k.sys patches across the fleet and alert on unpatched Windows 11 endpoints
- Baseline parent-child process relationships and alert on integrity-level escalations within a single process tree
How to Mitigate CVE-2022-21887
Immediate Actions Required
- Apply the January 2022 Microsoft security update for Windows 11 to all affected x64 and ARM64 systems
- Inventory endpoints to confirm the patched win32k.sys build is deployed and verify via Windows Update history
- Restrict local logon rights and remove unnecessary local administrator accounts to reduce the pool of users who can stage local exploitation
Patch Information
Microsoft addressed CVE-2022-21887 in the January 11, 2022 cumulative security update for Windows 11. Administrators should consult the Microsoft CVE-2022-21887 Security Advisory for the specific KB article and build numbers applicable to their environment. Verify patch deployment using wmic qfe list or equivalent configuration management tooling.
Workarounds
- No official vendor workaround has been published; patching is the supported remediation
- Reduce attack surface by enforcing application allowlisting to prevent execution of untrusted binaries that could chain into the Win32k exploit
- Enforce least privilege and disable interactive logon on servers and high-value workstations where it is not required
# Verify the January 2022 cumulative update is installed on Windows 11
Get-HotFix | Where-Object { $_.InstalledOn -ge (Get-Date '2022-01-11') } | Format-Table HotFixID, InstalledOn, Description
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

