What’s Vulnerable › Vulnerabilities
CVE-2017-0038
- Severity: medium (CVSS 5.5 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 82.2% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2017-02-20 · updated 2026-06-17
- Weakness: CWE-200
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
- Microsoft Windows 10 Version 1607: 1511, 1607
- Microsoft Windows 7: all versions
- Microsoft Windows 8.1: all versions
- Microsoft Windows RT 8.1: all versions
- Microsoft Windows Server 2008: r2-sp1
- Microsoft Windows Server 2012: r2
- Microsoft Windows Server 2016: all versions
- Microsoft Windows Vista: all versions
- Microsoft Corporation Windows Graphics Component: The Graphics Device Interface (GDI) component 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
References
- http://www.securityfocus.com/bid/96023
- http://www.securitytracker.com/id/1037845
- https://0patch.blogspot.com/2017/02/0patching-0-day-windows-gdi32dll-memory.html
- https://bugs.chromium.org/p/project-zero/issues/detail?id=992
- https://github.com/k0keoyo/CVE-2017-0038-EXP-C-JS
- https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2017-0038
- https://www.exploit-db.com/exploits/41363/
- http://www.securityfocus.com/bid/96023
- http://www.securitytracker.com/id/1037845
- https://0patch.blogspot.com/2017/02/0patching-0-day-windows-gdi32dll-memory.html
- https://bugs.chromium.org/p/project-zero/issues/detail?id=992
- https://github.com/k0keoyo/CVE-2017-0038-EXP-C-JS
Get alerted when CVE-2017-0038 or the next vulnerability affects your stack