CVE-2017-0005
CONFIRMED EXPLOITEDMicrosoft Windows Graphics Device Interface (GDI) Privilege Escalation Vulnerability
Is Microsoft Windows affected by CVE-2017-0005?
Microsoft Windows is listed in the CISA Known Exploited Vulnerabilities catalog for CVE-2017-0005, added on 2022-05-24. CISA only adds a CVE once it has evidence of exploitation in the wild, so the patching question is not whether it can be attacked but how soon your instances must be updated.
Affected products published by NIST NVD (15 vulnerable CPE entries): microsoft windows_10_1507, microsoft windows_10_1511, microsoft windows_10_1607, microsoft windows_7, microsoft windows_8.1 and microsoft windows_rt_8.1 and 4 further CPE product entries.
Published CPE data pins the vulnerable releases as r2. Check the vendor advisory below for the fixed release and for any other affected build.
The CISA remediation deadline for this entry is 2022-06-14.
RELATED VULNERABILITY DOSSIERS
Other catalog entries that share this product, vendor, or weakness, or that sit next to this advisory in the CISA KEV timeline.
- CVE-2026-96951Same productMicrosoft Windows
Microsoft Windows Command Injection Vulnerability
- CVE-2026-85880Same productMicrosoft Windows
Microsoft Windows Heap-Based Buffer Overflow Vulnerability
- CVE-2026-81963Same productMicrosoft Windows
Microsoft Windows Link Following Vulnerability
- CVE-2008-4250Same productMicrosoft Windows
Microsoft Windows Buffer Overflow Vulnerability
- CVE-2016-6367Neighboring entryCisco Adaptive Security Appliance (ASA)
Cisco Adaptive Security Appliance (ASA) CLI Remote Code Execution Vulnerability
- CVE-2017-0022Neighboring entryMicrosoft XML Core Services
Microsoft XML Core Services Information Disclosure Vulnerability
1. VULNERABILITY OVERVIEW & TECHNICAL MECHANISM
The Graphics Device Interface (GDI) in Microsoft Windows allows local users to gain privileges via a crafted application.
Get Stack Watch email when a KEV hits your stack ($99/year or $12/month)
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.
2. AFFECTED VERSIONS, PRODUCTS & VERIFIED CPE CONFIGURATIONS
3. EXPLOITATION EVIDENCE, IMPACT & HOW TO DETECT IT
This vulnerability was added to the CISA Known Exploited Vulnerabilities (KEV) catalog on 2022-05-24. Inclusion in KEV requires verified evidence of active exploitation in the wild. Known ransomware campaign use is recorded by CISA as: "Unknown".
Note: KEV inclusion confirms that threat actors have exploited this flaw in real-world incidents; it does not imply every deployment of Windows has been compromised.
- CVSS vector indicates high impact to Confidentiality (C:H), Integrity (I:H), and Availability (A:H) of the affected component.
- Kernel / local privilege surface (Microsoft Windows): monitor endpoint syscall and process telemetry (`Linux auditd`, `Tetragon` eBPF LSM/kprobe policies, Windows Security Event IDs 4672/4688 & Sysmon, `Velociraptor` VQL) for unexpected UID/token elevation, namespace escapes, or unauthorized child processes.
- Memory corruption class (CWE-119/416/787): monitor system logs (`dmesg`, `journalctl`, Windows Event ID 1000, crash dumps) for segmentation faults (`SIGSEGV`/`SIGABRT`) or worker process restarts.
- Inventory all hosts running Microsoft Windows and compare installed package/build versions against the NVD CPE configurations and vendor advisory below.
4. FIXED VERSION, MITIGATIONS & OFFICIAL ADVISORY CITATIONS
Apply updates per vendor instructions.
- http://www.securityfocus.com/bid/96033Broken LinkThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id/1038002Broken LinkThird Party AdvisoryVDB Entry
- https://blogs.technet.microsoft.com/mmpc/2017/03/27/detecting-and-mitigating-elevation-of-privilege-exploit-for-cve-2017-0005/ExploitMitigationPatch
- https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2017-0005PatchVendor Advisory
- http://www.securityfocus.com/bid/96033Broken LinkThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id/1038002Broken LinkThird Party AdvisoryVDB Entry
- https://blogs.technet.microsoft.com/mmpc/2017/03/27/detecting-and-mitigating-elevation-of-privilege-exploit-for-cve-2017-0005/ExploitMitigationPatch
- https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2017-0005PatchVendor Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-0005US Government Resource
SCORING & VECTOR TELEMETRY
Primary assessment authored by NIST NVD (nvd@nist.gov).
EPSS estimates the statistical probability of exploitation activity in the next 30 days—it is not proof of confirmed exploitation.
RELEVANT DEFENSIVE TOOLS
Curated open-source defensive and verification utilities from The Loot applicable to this asset class:
Rust-powered Windows Event Log (EVTX) fast forensics timeline generator & Sigma engine
Endpoint visibility, digital forensics, and incident response (DFIR) platform
Open-source XDR and SIEM platform for endpoint and cloud security monitoring
VirusTotal's memory-safe Rust rewrite of YARA for binary & implant hunting