CVE-2018-8589: Windows Win32k.sys Elevation of Privilege Race Condition in xxxMoveWindow
- Vendor
- Microsoft Corporation
CVE-2018-8589 is a local elevation of privilege vulnerability in the Windows kernel-mode graphics component win32k.sys affecting Windows 7, Windows Server 2008, and Windows Server 2008 R2. The flaw is a race condition in win32k!xxxMoveWindow caused by improper locking of messages sent synchronously between threads. Exploitation involves creating two threads with windows that share a window procedure and recursively triggering WM_NCCALCSIZE handling so that termination of the opposite thread at maximum recursion depth causes asynchronous copying of an attacker-controlled lParam structure. The vulnerable interaction between win32k!xxxCalcValidRects and win32k!SfnINOUTNCCALCSIZE allows attacker-controlled data to be copied into kernel context, leading to execution flow redirection and privilege escalation.
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 allows a local attacker to elevate privileges from user mode to kernel or otherwise highly privileged execution context on the affected system. In observed attacks, the vulnerability was used by the first stage of a malware installer to obtain the privileges needed to establish persistence. Because the flaw affects a kernel component, compromise can enable full takeover of the host, including execution of arbitrary code with elevated privileges, installation of additional payloads, and disabling or bypassing security controls.
Mitigation
If you can’t patch tonight, do this now.
If immediate patching is not possible, reduce exposure by limiting the ability to execute untrusted code locally, especially on legacy Windows systems. Enforce application control, restrict script and installer execution, minimize user privileges, and monitor for suspicious behavior associated with exploit chains that attempt local privilege escalation after initial compromise. Additional hardening should include aggressive endpoint detection coverage for anomalous win32k-related exploitation behavior and rapid isolation of systems showing signs of staged malware installation or persistence activity.
Remediation
Patch, then assume compromise.
Apply Microsoft's security update for CVE-2018-8589 on all affected systems, including Windows 7, Windows Server 2008, and Windows Server 2008 R2. Prioritize patching internet-connected endpoints and systems used by high-risk users, even though exploitation requires local code execution, because the vulnerability is suitable for post-compromise privilege escalation. Validate that legacy 32-bit Windows 7 systems are updated, as in-the-wild exploitation specifically targeted that platform.
Exploits
No public exploits tracked yet. Mallory keeps watching.
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-8589 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on May 23, 2022.
- Is there a public exploit for CVE-2018-8589?
- As of Oct 16, 2026, Mallory has found no public exploit for CVE-2018-8589.
- Is there a patch for CVE-2018-8589?
- Apply Microsoft's security update for CVE-2018-8589 on all affected systems, including Windows 7, Windows Server 2008, and Windows Server 2008 R2. Prioritize patching internet-connected endpoints and systems used by high-risk users, even though exploitation requires local code execution, because the vulnerability is suitable for post-compromise privilege escalation.
- What products are affected by CVE-2018-8589?
- Microsoft Corporation Windows 7 and Microsoft Corporation Windows Server 2008.
- How severe is CVE-2018-8589?
- CVE-2018-8589 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 3.0% (88th percentile) as of Oct 16, 2026.
Recent activity
2 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.