← 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.0%
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-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%analysed8.8CVE-2021-40444Microsoft MSHTML remote code execution via malicious Office documentCVE-2021-40444 is a remote code execution flaw in the MSHTML browser rendering engine on Microsoft Windows. An attacker can embed a malicious ActiveX…KEVEPSS 98%analysed8.8CVE-2021-34527Windows Print Spooler privileged file operation RCE (PrintNightmare)The Windows Print Spooler service improperly performs privileged file operations, allowing an attacker to execute arbitrary code as SYSTEM. This is t…KEVEPSS 100%analysed8.8CVE-2020-1020Windows Adobe Type Manager Library font parsing out-of-bounds write RCEMicrosoft Windows Adobe Type Manager Library mishandles a specially crafted multi-master font in Adobe Type 1 PostScript format, causing an out-of-bo…KEVEPSS 65%analysed8.8CVE-2019-0903Windows GDI memory handling remote code executionWindows Graphics Device Interface (GDI) mishandles objects in memory, allowing remote code execution. The record gives no root-cause detail beyond th…KEVEPSS 22%analysed8.8CVE-2018-0824Microsoft COM for Windows deserialization remote code executionMicrosoft COM for Windows fails to properly handle serialized objects, allowing untrusted data deserialization (CWE-502). A crafted serialized object…KEVEPSS 73%analysed8.8CVE-2017-8464Windows Shell .LNK icon parsing remote code executionWindows Shell fails to properly handle a crafted .LNK shortcut when its icon is parsed by Windows Explorer or any other application that reads shortc…KEVEPSS 90%analysed8.8CVE-2016-7256Windows atmfd.dll OpenType Font Remote Code ExecutionThe Windows font library (atmfd.dll) mishandles crafted OpenType fonts, allowing remote code execution. An attacker can host a malicious font on a we…KEVEPSS 65%analysed

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