CVE-2017-0005

From Exploited flaws, HARD’s guide to the flaws being used in attacks · Checked
This article is about a flaw in Microsoft Windows. For every flaw being used in attacks, see Exploited flaws; for Microsoft’s, see Microsoft flaws being used in attacks.

CVE-2017-0005 is a security flaw in Microsoft Windows, Microsoft’s operating system for PCs and servers. Someone who already has a foothold can use Microsoft Windows to take full control of the machine. The US Cybersecurity and Infrastructure Security Agency (CISA) added it to its catalog of flaws known to be used in attacks on 24 May 2022.[1]

Microsoft Windows is in things households have, such as phones, computers, browsers and everyday apps, so the fix matters at home as much as at work. Microsoft has published a fix or advice.

Description

CISA calls it a graphics device interface (GDI) privilege escalation in Microsoft Windows. In its words: “The Graphics Device Interface (GDI) in Microsoft Windows allows local users to gain privileges via a crafted application.”[1]

The CVE record adds: “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]

The underlying weakness is memory buffer error (CWE-119), in MITRE’s list of common software weaknesses.

It scores 7.8 out of 10 on the Common Vulnerability Scoring System, which rates it high, scored by NVD using CVSS 3.1.[2]

Affected versions

NVD’s record doesn’t list version ranges for it; Microsoft’s advisory has them[3]. CISA names the product as Microsoft Windows.

Every device with Microsoft Windows needs the update.

Exploitation

CISA added it to its catalog of known exploited vulnerabilities on 24 May 2022, 1,894 days after it was made public. CISA lists a flaw only when it has reliable evidence of it being exploited, and gave US federal agencies until 14 Jun 2022 to fix it.[1]

FIRST’s Exploit Prediction Scoring System, which estimates how likely a flaw is to be used in attacks in the next 30 days from what it sees across the internet, puts it at 11%. That’s in the top 5% of the flaws it scores.[4]

CISA assesses it as not automatable: each attack takes some work.

CISA doesn’t say who was attacked, or how.

Fix

Microsoft has published a fix or advice.[3] CISA’s required action: “Apply updates per vendor instructions.”[1]

  1. Update Microsoft Windows now.On Windows: Settings, Windows Update, Check for updates, then restart. Office updates come the same way, or from any Office app: File, Account, Update Options. Then turn on automatic updates, so the next fix arrives on its own.
  2. If there’s no update, stop using it.CISA’s advice when a flaw being used in attacks has no fix is to stop using the product until it does.

Timeline

DateEvent
The flaw is made public in the National Vulnerability Database, with a severity score of 7.8.[2]
CISA adds it to its catalog of flaws known to be used in attacks.[1]
CISA’s deadline for US government agencies to fix it.[1]
FIRST puts the odds of it being used in attacks in the next 30 days at 11%.[4]

See also

Other Microsoft Windows flaws

Other memory buffer error flaws

  • CVE-2026-88779, Citrix NetScaler: improper restriction of operations within the bounds of a memory buffer ·
  • CVE-2026-88772, Citrix NetScaler: improper restriction of operations within the bounds of a memory buffer ·
  • CVE-2026-88771, Citrix NetScaler: improper input validation ·
  • CVE-2026-8452, Citrix NetScaler ADC and NetScaler Gateway: improper restriction of operations within the bounds of a memory buffer ·
  • CVE-2009-3459, Adobe Acrobat and Reader: heap-based buffer overflow ·

Added the same day

  • CVE-2018-8611, Microsoft Windows: kernel privilege escalation ·
  • CVE-2018-19953, QNAP Network Attached Storage (NAS): NAS file station cross-site scripting ·
  • CVE-2018-19949, QNAP Network Attached Storage (NAS): NAS file station command injection ·
  • CVE-2018-19943, QNAP Network Attached Storage (NAS): NAS file station cross-site scripting ·
  • CVE-2017-8543, Microsoft Windows: search remote code execution ·

Every Microsoft flaw on CISA’s list · Everything added in May 2022

References

  1. ^ Cybersecurity and Infrastructure Security Agency. “Microsoft Windows Graphics Device Interface (GDI) Privilege Escalation Vulnerability”. Known Exploited Vulnerabilities Catalog, added 24 May 2022.
  2. ^ National Institute of Standards and Technology. “CVE-2017-0005 Detail”. National Vulnerability Database, published 17 Mar 2017.
  3. ^ Microsoft. Advisories and fixes: portal.msrc.microsoft.com.
  4. ^ FIRST. “Exploit Prediction Scoring System”. EPSS 0.110, percentile 95.9, 31 Oct 2026.
  5. CVE Program. “CVE-2017-0005”. The official CVE record.

This article is built from CISA’s catalog (version 2026.10.30), NVD’s record and FIRST’s scores, kept in HARD’s database and checked every morning. The plain English is HARD’s.