Skip to main content
Mallory
HighExploited in the wildCISA KEVPublic exploitVulnerability

CVE-2019-1458: Windows Win32k Elevation of Privilege

Published Dec 10, 2019 · Updated 22 days 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
EPSS74.4%100th percentile
CISA KEVYesAdded Jan 10, 2022
In the wildActivePer CISA KEV
Vendor
Microsoft Corporation
IdentifiersCVE-2019-1458CWE-822

CVE-2019-1458 is a local privilege-escalation vulnerability in the Microsoft Windows Win32k kernel component caused by insufficient validation of pointers associated with window objects. In the analyzed exploit, SetWindowLongPtr permits modification of extra data for a Switch-class window because the corresponding server-side window-procedure validation entry is uninitialized. Attacker-controlled window data is subsequently dereferenced by xxxPaintSwitchWindow, allowing modification of attacker-selected kernel memory. The exploit converts this primitive into arbitrary kernel read/write through bitmap manipulation and replaces a process token with the SYSTEM token. The vulnerability was exploited as a zero-day in Operation WizardOpium, where it was chained with Chrome vulnerability CVE-2019-13720 to escape the browser sandbox and execute malware with elevated privileges.

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.

Successful exploitation permits arbitrary code execution in kernel mode and elevation from a restricted local process to SYSTEM, compromising host confidentiality, integrity, and availability. Elevated access can support security-control tampering, credential theft, privileged malware installation, and ransomware deployment. Exploitation has been associated with Purple Fox, DirtyMoe, NetWalker, Conti affiliates, and espionage operations. The vulnerability is a local escalation mechanism, not a standalone remote initial-access vulnerability.

Mitigation

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

Restrict execution of untrusted applications and exploit utilities through application control, and maintain endpoint protection to reduce opportunities for local exploitation. Win32k system-call lockdown blocks the analyzed Chrome sandbox-escape path on Windows 10 by preventing sandboxed Chrome processes from invoking the required Win32k calls; this does not protect other processes that retain Win32k access. These controls reduce exposure but do not replace patching.

Remediation

Patch, then assume compromise.

Install the Microsoft Windows security updates released in December 2019 that address CVE-2019-1458, or applicable superseding updates for the installed Windows release. Upgrade systems that cannot receive the relevant security updates to a supported, patched Windows version. Prioritize remediation because exploitation has occurred in the wild and the vulnerability is included in CISA's Known Exploited Vulnerabilities catalog.

Public exploits

Exploits

3 exploits validated by Mallory's analysis. Hidden: 1 not yet analyzed, such as Exploit-DB entries.

View more in app →
cve_2019_1458_wizardopium.rbThis repository contains a single Metasploit module implementing a local privilege escalation exploit for CVE-2019-1458, also known as 'WizardOpium'. The exploit targets a vulnerability in the Windows kernel driver win32k.sys, allowing a local attacker to gain SYSTEM privileges by exploiting an uninitialized variable. The module is written in Ruby and is designed to be used within the Metasploit Framework. It checks the version of win32k.sys to determine if the target is vulnerable, and if so, uses reflective DLL injection to execute a payload (such as Meterpreter) as SYSTEM. The exploit is primarily tested against Windows 7 x64 SP1 but includes version checks for a range of Windows versions from Vista through early Windows 10 builds. The main fingerprintable endpoints are the win32k.sys driver file and the DLL used for exploitation. The exploit is operational and can be used to gain full control over a vulnerable Windows system.Disclosed Dec 10, 2019 · Framework: metasploit · ruby · localWeaponizedCVE-2019-1458This repository contains a local privilege escalation exploit for CVE-2019-1458, targeting several 64-bit versions of Microsoft Windows (Windows 7, 8, 2008, 2012, and their R2 variants). The exploit is implemented in C++ (Source.cpp) with supporting assembly (shellcode.asm) for direct system calls. The exploit abuses a vulnerability in the Windows kernel to escalate privileges and execute an arbitrary command as SYSTEM, provided as a command-line argument. The exploit must be run locally and only works once per system reboot. The project is structured as a Visual Studio solution with the main logic in Source.cpp and supporting build files. No network endpoints are involved; the attack vector is purely local. The exploit is operational, requiring the attacker to supply the desired command to be executed with SYSTEM privileges.rip1s · Disclosed Mar 11, 2020 · cpp · asm · localOperationalcve-2019-1458_POCThis repository provides a proof-of-concept (POC) exploit for CVE-2019-1458, a local privilege escalation vulnerability in Microsoft Windows 7 SP1 x64 (win32k.sys). The repository contains three files: a detailed README.md explaining the vulnerability and exploit development process, a C++ source file (cve-2019-1458.cpp) implementing the exploit logic, and an assembly file (syscall.asm) providing a direct syscall stub for NtUserMessageCall. The exploit works by creating a specially crafted window, manipulating its extra data, simulating an ALT key press, and making specific calls to the undocumented NtUserMessageCall API to trigger a double dereference in the kernel. This results in memory corruption, which can be leveraged for privilege escalation. The exploit is a POC and does not provide a full shell or privilege escalation chain, but demonstrates the core vulnerability. The attack vector is local, requiring code execution on the target system. The exploit targets unpatched Windows 7 SP1 systems (prior to KB4530692).piotrflorczyk · Disclosed Mar 3, 2020 · c++ · assembly · 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 1507operating_system
Microsoft CorporationWindows 10 1607operating_system
Microsoft CorporationWindows 7operating_system
Microsoft CorporationWindows 8.1operating_system
Microsoft CorporationWindows Rt 8.1operating_system
Microsoft CorporationWindows Server 2008operating_system
Microsoft CorporationWindows Server 2012operating_system
Microsoft CorporationWindows Server 2016operating_system
FAQ

Frequently asked questions

Is CVE-2019-1458 exploited in the wild?
Yes. As of Nov 2, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Jan 10, 2022.
Is there a public exploit for CVE-2019-1458?
Yes. Mallory tracks 3 public exploits or proofs of concept for CVE-2019-1458, the earliest disclosed Dec 10, 2019.
Is there a patch for CVE-2019-1458?
Install the Microsoft Windows security updates released in December 2019 that address CVE-2019-1458, or applicable superseding updates for the installed Windows release. Upgrade systems that cannot receive the relevant security updates to a supported, patched Windows version.
What products are affected by CVE-2019-1458?
Microsoft Corporation Windows 10 1507, Microsoft Corporation Windows 10 1607, Microsoft Corporation Windows 7, Microsoft Corporation Windows 8.1, Microsoft Corporation Windows Rt 8.1, and 3 more.
How severe is CVE-2019-1458?
CVE-2019-1458 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 74.4% (100th percentile) as of Nov 2, 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 evidence6Every report linking this CVE to a named adversary.
Associated malware12Malware families linked to this CVE, with evidence and IOCs.
Detection signatures2YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity2Community discussion across Reddit, Mastodon, and other social sources.