CVE-2017-0038: Microsoft Windows - 'gdi32.dll' EMR_SETDIBITSTODEVICE Heap Out-of-Bounds Reads / Memory Disclosure
CVE-2017-0038 is not on CISA's Known Exploited Vulnerabilities list as of 4 December 2026, but EPSS estimates a 82.2% chance of exploitation attempts in the next 30 days, higher than 99.7% of all scored vulnerabilities. Public exploit code is available: 1 Exploit-DB entry.
- Exploited in real attacks
- Not confirmed by CISA as of 4 December 2026
- Public exploit code
- 1 Exploit-DB entry
- Chance of exploitation (EPSS)
- 82.2% in the next 30 days, higher than 99.7% of scored vulnerabilities. Scored 5 December 2026
- Affects
- Microsoft Windows Graphics Component
- Published
- 20 February 2017
What it is
gdi32.dll in 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 remote attackers to obtain sensitive information from process heap memory via a crafted EMF file, as demonstrated by an EMR_SETDIBITSTODEVICE record with modified Device Independent Bitmap (DIB) dimensions. NOTE: this vulnerability exists because of an incomplete fix for CVE-2016-3216, CVE-2016-3219, and/or CVE-2016-3220.
Description from the CVE record.
Is CVE-2017-0038 being exploited?
CVE-2017-0038 is not in CISA's catalog, which currently lists 1,814 vulnerabilities. That does not mean it is safe. The catalog only includes cases CISA has confirmed, and the EPSS model, which predicts exploitation from observed attack traffic and other signals, rates this one at 82.2%. Fewer than 1 in 100 scored vulnerabilities rate higher.
Public exploit code
These are public references that anyone, including an attacker, can find. Their existence lowers the skill needed to use the flaw.
| Source | Entry | Published |
|---|---|---|
| Exploit-DB | Microsoft Windows - 'gdi32.dll' EMR_SETDIBITSTODEVICE Heap Out-of-Bounds Reads / Memory Disclosure | 15 February 2017 |
Affected products
- Microsoft Corporation Windows Graphics Component
From the CVE record. Check the vendor advisory for the full list of fixed versions.
What to do
Apply the vendor's fix or mitigation, using the advisories in the sources below. Until it is patched, limit who can reach the affected system, especially from the internet.
How to check whether you are exposed
- Find every copy. List each place Microsoft Windows Graphics Component runs, including test systems and anything set up outside IT.
- Compare versions. Match what you find against the affected versions in the vendor advisory.
- Check reachability. An affected system that faces the internet is urgent; one reachable only from inside still matters once an attacker has a foothold.
HackDrill
Find out whether this is reachable in your systems.
A version number tells you a system is affected. A hacking drill tells you whether an attacker can actually get in through a flaw like this one in Windows Graphics Component. HackDrill's AI agents attack your product, infrastructure, network and cloud the way modern attackers do, and show you the real, exploitable gaps so you can fix them first.
Other tracked vulnerabilities in Microsoft products
| CVE | What it affects | Status | EPSS | Published |
|---|---|---|---|---|
| CVE-2026-139934 | Microsoft Azure API Management (APIM) | No public exploit found | 2.8% | 3 December 2026 |
| CVE-2026-124194 | Microsoft Office | No public exploit found | 24.9% | 10 November 2026 |
| CVE-2026-96951 | Microsoft Windows | No public exploit found | 13.1% | 13 October 2026 |
| CVE-2026-65660 | Microsoft SharePoint | No public exploit found | 9.9% | 11 August 2026 |
| CVE-2026-81963 | Microsoft Windows | No public exploit found | 9.7% | 8 September 2026 |
| CVE-2026-85880 | Microsoft Windows | No public exploit found | 5.4% | 8 September 2026 |
Sources
- CVE record for CVE-2017-0038
- NVD entry
- FIRST EPSS, scores dated 5 December 2026
- bugs.chromium.org (x_refsource_MISC)
- portal.msrc.microsoft.com (x_refsource_CONFIRM)
- 0patch.blogspot.com (x_refsource_MISC)
- www.securitytracker.com (vdb-entry, x_refsource_SECTRACK)
- www.securityfocus.com (vdb-entry, x_refsource_BID)
- github.com (x_refsource_MISC)
- www.exploit-db.com (exploit, x_refsource_EXPLOIT-DB)
Machine-readable: /api/cve/CVE-2017-0038.json