CVE-2018-8120: Windows Win32k Elevation of Privilege Vulnerability
- Vendor
- Microsoft Corporation
CVE-2018-8120 is a local privilege-escalation vulnerability in the Windows Win32k kernel component affecting Windows 7, Windows Server 2008, and Windows Server 2008 R2. The SetImeInfoEx subroutine reached through NtUserSetImeInfoEx fails to validate a data pointer, permitting a NULL pointer dereference. An attacker who can map the NULL page can turn this condition into an arbitrary kernel-memory write and obtain kernel-mode execution and SYSTEM privileges. The vulnerability has also been chained with Adobe Reader vulnerability CVE-2018-4990 to escape Protected Mode.
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 compromises the local operating system's privilege boundary, allowing attacker-controlled code to execute with SYSTEM privileges. This enables unauthorized access to protected data, modification of system configuration, and installation of privileged malware. Exploitation has been incorporated into Purple Fox, GandCrab, and Dharma attack tooling and associated with Conti affiliates.
Mitigation
If you can’t patch tonight, do this now.
Restrict execution of untrusted applications and scripts, secure administrative tooling, and use behavioral endpoint monitoring to detect or block local privilege-escalation activity. Apply layered defenses against initial code execution, including malicious-document and browser exploitation. Least privilege alone does not prevent this vulnerability from elevating an already-running low-privileged process; these controls do not replace the security update.
Remediation
Patch, then assume compromise.
Install Microsoft's security updates addressing CVE-2018-8120 for the affected Windows edition and architecture. Migrate systems that cannot receive applicable security updates to a supported, patched Windows release.
Exploits
5 exploits validated by Mallory's analysis.
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.
References
Frequently asked questions
- Is CVE-2018-8120 exploited in the wild?
- Yes. As of Oct 28, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Mar 15, 2022.
- Is there a public exploit for CVE-2018-8120?
- Yes. Mallory tracks 5 public exploits or proofs of concept for CVE-2018-8120, the earliest disclosed May 9, 2018.
- Is there a patch for CVE-2018-8120?
- Install Microsoft's security updates addressing CVE-2018-8120 for the affected Windows edition and architecture. Migrate systems that cannot receive applicable security updates to a supported, patched Windows release.
- What products are affected by CVE-2018-8120?
- Microsoft Corporation Windows 7 and Microsoft Corporation Windows Server 2008.
- How severe is CVE-2018-8120?
- CVE-2018-8120 has a CVSS v3.1 score of 7.0 (High) and an EPSS score of 73.3% (99th percentile) as of Oct 28, 2026.
Recent activity
14 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.