Privilege escalationin Microsoft Windows Server 2012 R2.
On CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks.'s exploited list since 28 Mar 2022. Ransomware groups use it too.
An elevation of privilege vulnerability exists when the DirectX Graphics Kernel (DXGKRNL) driver improperly handles objects in memory, aka "DirectX Graphics Kernel Elevation of Privilege Vulnerability." This affects Windows Server 2012 R2, Windows RT 8.1, Windows Server 2016, Windows 8.1, Windows 10, Windows 10 Servers. This CVE ID is unique from CVE-2018-8400, CVE-2018-8401, CVE-2018-8406.
- CISA requires US federal agencies to fix it by 18 Apr 2022.
Not confirmed by any source yet: affected versions not confirmed; fixed version not confirmed. We show these as not confirmed instead of guessing.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 14 Mar 2018CVE ID reserved by microsoft.
- 15 Aug 2018Published in the CVE List.
- 28 Mar 2022Added to CISA's Known Exploited Vulnerabilities list.
- 28 Mar 2022CISA lists known use in ransomware campaigns.
- 21 Oct 2025CVE record last updated.
Attack code anyone can find
Exploit maturity: Exploited in the wild (CISA KEV). CISA assessment (SSVC): exploitation active.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other Windows Server 2012 R2 vulnerabilities
Same weakness: Improper resource shutdown
- www.securityfocus.com vdb-entry, x_refsource_BID
- www.securitytracker.com vdb-entry, x_refsource_SECTRACK
- portal.msrc.microsoft.com x_refsource_CONFIRM
- www.cisa.gov government-resource
Patchminder. CVE-2018-8405: Privilege escalation in Microsoft Windows Server 2012 R2. https://patchminder.com/cve/cve-2018-8405/ (accessed 5 December 2026).