CVE-2018-8120: Microsoft Win32k Privilege Escalation Vulnerability
CVE-2018-8120 is a high-severity flaw (CVSS 7.0) affecting windows 7, windows server 2008, reported as exploited in the wild. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
An elevation of privilege vulnerability exists in Windows when the Win32k component fails to properly handle objects in memory, aka "Win32k Elevation of Privilege Vulnerability." This affects Windows Server 2008, Windows 7, Windows Server 2008 R2. This CVE ID is unique from CVE-2018-8124, CVE-2018-8164, CVE-2018-8166.
Why this priority
- High severity
- EPSS top 1%: very likely to be exploited
- Exploited in the wild (CISA KEV)
- Used in ransomware campaigns
- Public exploit reference
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.0 (High) |
| Attack vector | Local |
| Attack complexity | High |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 73.3% (top 1%) |
| CISA exploited list | Yes, fix due 2022-04-05, used in ransomware |
| Weakness | CWE-404 |
| Published | 2018-05-09 |
| Last modified | 2026-08-13 |
Last updated 2026-08-13 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Exploited Added to the CISA Known Exploited Vulnerabilities list
- Deadline CISA due date for US federal agencies to patch
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: rip1s/CVE-2018-8120 (497 stars)
- GitHub PoC: alpha1ab/CVE-2018-8120 (295 stars)
- GitHub PoC: bigric3/cve-2018-8120 (164 stars)
- Write-up: www.exploit-db.com/exploits/45653/
- GitHub PoC: DreamoneOnly/CVE-2018-8120
- GitHub PoC: EVOL4/CVE-2018-8120
- Exploit-DB: Microsoft Windows 7/2008 R2 - SetImeInfoEx Win32k NULL Pointer Dereference (Metasploit)
- Metasploit: Windows SetImeInfoEx Win32k NULL Pointer Dereference
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2018-8120?
windows 7: mitigate or apply the listed mitigation; windows server 2008: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2018-8120 being exploited?
Yes. CVE-2018-8120 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.
What does CVE-2018-8120 affect?
CVE-2018-8120 affects windows 7, windows server 2008. Severity is high (CVSS 7.0). An elevation of privilege vulnerability exists in Windows when the Win32k component fails to properly handle objects in memory, aka "Win32k Elevation of Privilege Vulnerability." This affects Windows Server 2008, Windows 7, Windows Server 2
How urgent is CVE-2018-8120?
Priority 89/100. High severity; EPSS top 1%: very likely to be exploited; Exploited in the wild (CISA KEV); Used in ransomware campaigns; Public exploit reference; On your watchlist
Software pages
Windows vulnerabilities · Windows Server vulnerabilities
Related CVEs
- CVE-2022-35768 HIGH 7.8 MITIGATE MITIGATE Windows Kernel Elevation of Privilege Vulnerability
- CVE-2022-34718 CRITICAL 9.8 MITIGATE MITIGATE Windows TCP/IP Remote Code Execution Vulnerability
- CVE-2022-34707 HIGH 7.8 MITIGATE MITIGATE Windows Kernel Elevation of Privilege Vulnerability
- CVE-2022-30164 HIGH 7.8 MITIGATE MITIGATE Kerberos AppContainer Security Feature Bypass Vulnerability
- CVE-2022-26931 HIGH 7.5 MITIGATE MITIGATE Windows Kerberos Elevation of Privilege Vulnerability