What is Win32k?
Win32k.sys is the kernel-mode driver that implements the core of the Windows GUI subsystem — window management, drawing primitives, and user input — for every desktop Windows release. Because it runs in kernel mode yet processes input originating from user-mode applications, Win32k has long been one of the most heavily targeted components for local privilege escalation: a successful exploit against it lets an attacker jump directly from a low-privileged user-mode process to kernel-level (SYSTEM) code execution.
Overview
CVE-2019-0797 is a High-severity privilege escalation vulnerability in Win32k caused by improper handling of objects in memory. A locally authenticated attacker who ran a specially crafted application could exploit the flaw to execute arbitrary code in kernel mode, taking full control of the system. Microsoft fixed it in the February 2019 Patch Tuesday update, and it was reported at the time to have already been exploited as a zero-day in the wild.
Technical Details
The flaw is a kernel memory-corruption bug (use of memory in a manner inconsistent with its intended state) reachable through Win32k's system call surface, which is directly accessible to any user-mode process. Exploitation requires local access and low privileges but no user interaction, and once triggered grants full kernel-mode code execution — the highest possible privilege on the system. Bugs of this kind are rarely used standalone; they are the second stage in an exploit chain, following an initial code-execution foothold gained through a browser, document, or email exploit, converting that limited-privilege access into full SYSTEM control.
Discovery
CVE-2019-0797 was among a cluster of Win32k kernel privilege-escalation zero-days that Kaspersky's Global Research and Analysis Team (GReAT) reported finding exploited in targeted attacks in this period, part of a broader pattern of Win32k zero-days used by sophisticated threat actors to escape application sandboxes after an initial browser or document exploit.
Exploitation Context
CISA's KEV catalog entry confirms real-world exploitation. Win32k EoP zero-days like this one were characteristically used by well-resourced threat actors as the privilege-escalation stage of multi-exploit chains, paired with a separate initial-access vulnerability (commonly a browser renderer bug), to fully compromise a target machine in a single attack chain — a pattern repeated across several Win32k CVEs disclosed and exploited in 2018–2019.
Remediation
- Apply the February 2019 Patch Tuesday cumulative update (or any later update) for the affected Windows version.
- Prioritize patching on systems used for high-value or high-risk browsing, since local EoP bugs are typically chained with browser exploits.
- Deploy kernel exploit mitigations (Kernel DEP, Control Flow Guard, HVCI where supported) to raise the bar for successful exploitation.
- Use endpoint detection to flag anomalous kernel-mode driver activity or unexpected process privilege transitions.
- Restrict local application execution via allowlisting on systems where general-purpose code execution isn't required.
Key Details
| Property | Value |
|---|---|
| CVE ID | CVE-2019-0797 |
| Vendor / Product | Microsoft — Win32k |
| NVD Published | 2019-04-09 |
| NVD Last Modified | 2025-10-29 |
| CVSS 3.1 Score | 7.8 |
| CVSS 3.1 Vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Severity | HIGH |
| CISA KEV Added | 2021-11-03 |
| CISA KEV Deadline | 2022-05-03 |
| Known Ransomware Use | No |
CVSS 3.1 Breakdown
Required Action
Timeline
| Date | Event |
|---|---|
| 2019-02-12 | Fixed as part of Microsoft's February 2019 Patch Tuesday, after being reported as exploited in the wild |
| 2021-11-03 | Added to CISA Known Exploited Vulnerabilities catalog |
| 2022-05-03 | CISA BOD 22-01 remediation deadline |
References
| Resource | Type |
|---|---|
| NVD — CVE-2019-0797 | Vulnerability Database |
| CISA KEV Catalog Entry | US Government |