← Vulnerability feed

Vulnerability record · CVE-2017-0005 · published 17 March 2017

CVE-2017-0005: Windows GDI local privilege escalation via crafted application

Microsoft · Windows 10 1507

The Graphics Device Interface (GDI) in multiple Microsoft Windows versions mishandles objects in a way that lets a local user elevate privileges by running a crafted application. It affects a broad set of Windows releases from Vista through Windows 10 1607 and corresponding server editions. Because it is a local privilege escalation in a core graphics component, it matters as a post-compromise step to gain higher rights on a host.

7.8 CVSS 3.1 High CISA KEV since 24 May 2022 EPSS 11% · top 4.2%
7.8CVSS 3.1 base score, v2 6.9
11%EPSS exploitation probability, 30 days
YesIn CISA KEV, fix deadline passed
10Affected product versions listed by NVD
9References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

The Graphics Device Interface (GDI) in Microsoft Windows Vista SP2; Windows Server 2008 SP2 and R2 SP1; Windows 7 SP1; Windows 8.1; Windows Server 2012 Gold and R2; Windows RT 8.1; and Windows 10 Gold, 1511, and 1607 allows local users to gain privileges via a crafted application, aka "Windows GDI Elevation of Privilege Vulnerability." This vulnerability is different from those described in CVE-2017-0001, CVE-2017-0025, and CVE-2017-0047.

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 17 September 2026. Confidence: high.

high priorityIt is a known-exploited local privilege escalation (CISA KEV) with high CVSS impact, though it requires local access and is an older, patched issue.

What it is

The Graphics Device Interface (GDI) in multiple Microsoft Windows versions mishandles objects in a way that lets a local user elevate privileges by running a crafted application. It affects a broad set of Windows releases from Vista through Windows 10 1607 and corresponding server editions. Because it is a local privilege escalation in a core graphics component, it matters as a post-compromise step to gain higher rights on a host.

Impact

An attacker who can already run code on the machine gains elevated privileges, potentially SYSTEM-level access depending on the exploit. That enables further actions such as disabling security controls, persisting, or moving laterally.

Attack surface

Reached locally by executing a crafted application on the target host; the CVSS vector AV:L/PR:L/UI:N indicates low privileges are required and no user interaction beyond running the attacker's program. No remote or network vector is described.

Exploitation

It is listed in CISA KEV (added 2022-05-24), and the Microsoft MMPC reference is tagged Exploit, indicating known exploitation; EPSS 30-day probability is about 0.11 (95.7th percentile). No ransomware campaign use is recorded.

What to do

  • Apply the Microsoft security update for CVE-2017-0005 to all affected Windows versions; this is the primary fix.
  • Prioritize patching hosts running the affected legacy platforms (Vista SP2, Server 2008 SP2/R2 SP1, Windows 7 SP1, Windows 8.1, RT 8.1, Server 2012/R2, Windows 10 Gold/1511/1607).
  • Restrict the ability of low-privileged users to run untrusted executables, and remove local admin rights where feasible to reduce the value of a local EoP.
  • Use application allowlisting and endpoint controls to block execution of unknown binaries that could trigger the GDI flaw.
  • Monitor and retire end-of-support systems that cannot receive the patch.

Detection

  • Monitor for processes spawning with unexpectedly high integrity or SYSTEM tokens from user-writable paths or unusual parent processes.
  • Alert on known exploit artifacts and behaviors described in the Microsoft MMPC detection guidance for this CVE.
  • Track execution of unsigned or newly written binaries from temp, download, or user profile directories on affected hosts.
  • Correlate local privilege escalation indicators with prior initial-access activity on the same host.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Exploitation in the wild

CISA added CVE-2017-0005 to the Known Exploited Vulnerabilities catalog on 24 May 2022 as "Microsoft Windows Graphics Device Interface (GDI) Privilege Escalation Vulnerability". Required action: Apply updates per vendor instructions. Federal deadline 14 June 2022.

Affected products

10 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2017-0005 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2026-33824Double free in Windows IKE Extension enables remote code executionA double free flaw (CWE-415) exists in the Windows IKE Extension, reachable over the network by an unauthenticated attacker. Successful exploitation …KEVEPSS 1.6%analysed9.8CVE-2019-0708Microsoft Remote Desktop Services use-after-free remote code executionRemote Desktop Services (formerly Terminal Services) contains a use-after-free flaw that lets an unauthenticated attacker execute code by sending spe…KEVEPSS 100%analysed9.8CVE-2017-8543Windows Search memory handling flaw allows remote code executionWindows Search fails to properly handle objects in memory, allowing an unauthenticated remote attacker to execute code on affected Windows systems. T…KEVEPSS 74%analysed9.8CVE-2015-1635Microsoft HTTP.sys remote code execution via crafted HTTP requestsHTTP.sys in multiple Windows versions fails to properly handle crafted HTTP requests, allowing remote code execution. The flaw is reachable over the …KEVEPSS 100%analysed8.8CVE-2026-21510Windows Shell protection mechanism failure allows security feature bypassWindows Shell contains a protection mechanism failure (CWE-693) that lets an unauthorized attacker bypass a security feature over a network. The flaw…KEVEPSS 24%analysed8.8CVE-2026-21513Microsoft MSHTML security feature bypass on WindowsCVE-2026-21513 is a protection mechanism failure (CWE-693) in the Microsoft MSHTML Framework that lets an unauthorized attacker bypass a security fea…KEVEPSS 16%analysed8.8CVE-2025-33073Windows SMB improper access control allows privilege elevationWindows SMB contains an improper access control flaw (CWE-284) that lets an authorized attacker elevate privileges over the network. Microsoft rates …KEVEPSS 83%analysed8.8CVE-2025-33053Microsoft Windows WebDAV Internet Shortcut File Path Control RCEWindows Internet Shortcut (.url) files allow external control of a file name or path, which an unauthorized attacker can abuse to execute code over a…KEVEPSS 87%analysed

Source: NIST National Vulnerability Database (record CVE-2017-0005), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.