CVE-2017-0038
MediumPublic exploitgdi32.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…
Published Feb 20, 2017 · Updated May 12, 2026
Key Facts
Patch immediately- CVE-2017-0038 is a medium-severity vulnerability (CVSS 5.5 v3) affecting Windows 10 (Microsoft), Windows 7 (Microsoft), Windows 8.1 (Microsoft) and 6 more products.
- It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
- EPSS estimates a 82% probability of exploitation in the next 30 days.
- No fixed version is listed yet; check the vendor advisory for mitigations.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
CVSS v3
5.5
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
EPSS (30-day exploit likelihood)
82%
Higher than 99.6% of all scored CVEs
Exploited in the wild
No known
Not in a known-exploited catalog
Public exploit code
Available
Proof-of-concept or weaponized module
Get the full CVE-2017-0038 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
Description
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.
Affected Products
13 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| Windows 10Microsoft | 1511, 1607 | n/a |
| Windows 7Microsoft | See advisory | n/a |
| Windows 8.1Microsoft | See advisory | n/a |
| Windows Rt 8.1Microsoft | See advisory | n/a |
| Windows Server 2008Microsoft | r2-sp1 | n/a |
Timeline
Publicly disclosed
Feb 20, 2017
Last updated
May 12, 2026
Weakness Type
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
References
- patchhttps://0patch.blogspot.com/2017/02/0patching-0-day-windows-gdi32dll-memory.html
- patchhttps://bugs.chromium.org/p/project-zero/issues/detail?id=992
- exploitExploitDB-41363
- otherhttps://github.com/k0keoyo/CVE-2017-0038-EXP-C-JS
- otherhttps://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2017-0038
FAQ
Common Questions.
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 crafte…
Affected: Windows 10 (Microsoft) versions 1511, 1607; Windows 7 (Microsoft); Windows 8.1 (Microsoft), among others. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
No fixed version is listed yet; check the vendor advisory for mitigations.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2017-0038 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo