Skip to main content
Mallory
← Back to News
privilege-escalation-methodendpoint-software-vulnerabilitywidely-deployed-product-advisory

Windows GDI Elevation of Privilege Vulnerabilities Patched by Microsoft

Attack Tradecraft · 2 sources · Updated 5mo ago · First seen May 25, 2026

Windows GDI Elevation of Privilege Vulnerabilities Patched by Microsoft

Microsoft published security advisories for multiple Windows GDI Elevation of Privilege flaws, including CVE-2017-0005 and CVE-2022-21903. Both vulnerabilities affect the Windows Graphics Device Interface and could allow an attacker to gain higher privileges on a targeted system if successfully exploited.

The advisories were released through Microsoft's Security Update Guide and MSRC portal, indicating that patches were made available for affected Windows platforms. The issues highlight the recurring security risk posed by privilege-escalation bugs in core Windows graphics components, which can be used by attackers after initial access to move from limited user rights to more powerful system-level control.

Why it matters

Impact assessment

Microsoft patched multiple Windows GDI elevation-of-privilege vulnerabilities affecting Windows systems, specifically CVE-2017-0005 and CVE-2022-21903. The primary risk is post-compromise privilege escalation: an attacker who already has code execution or local access can use these flaws to move from a low-privilege context to elevated rights, increasing the likelihood of full host takeover, credential theft, defense evasion, and lateral movement.

Severity and exposure

These vulnerabilities affect core Windows graphics components, so exposure is relevant to enterprises, government environments, managed endpoints, and any user population running affected Windows versions. The scope is potentially broad because GDI is a foundational Windows subsystem, but the attack requirement is local or post-initial-access rather than unauthenticated remote exploitation.

Operational impact

Successful exploitation can materially increase incident severity by converting a limited intrusion into administrative or SYSTEM-level control. That can lead to operational disruption, broader compromise of adjacent systems, and higher recovery costs even if the original access vector was low impact.

Known exploitation status

The provided story does not state confirmed in-the-wild exploitation for either CVE. Security teams should still treat these flaws as meaningful privilege-escalation risks because such bugs are commonly chained with phishing, malware execution, or other initial-access techniques.

Who uses this technique?Get the actors, campaigns, and ATT&CK mapping behind it.
Get the tradecraft
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

2 events · Mar 14, 2017 – Jan 11, 2022
  1. Jan 11, 20225y ago

    Microsoft publishes advisory for CVE-2022-21903

    Microsoft released a Security Update Guide entry for CVE-2022-21903, another Windows GDI Elevation of Privilege vulnerability.

  2. Mar 14, 201710y ago

    Microsoft publishes advisory for CVE-2017-0005

    Microsoft released a Security Update Guide entry for CVE-2017-0005, a Windows GDI Elevation of Privilege vulnerability.

Do you run this?Get the adversaries, campaigns, and ATT&CK mapping behind this technique, with detections ready to deploy.
See Who Uses This Technique
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.