CVE-2017-0038

Summary

CVECVE-2017-0038
StatePUBLISHED
Assignermicrosoft
Source PriorityCVE Program / NVD first with legacy fallback
Published2017-02-20 16:59:00 UTC
Updated2025-04-20 01:37:25 UTC
Descriptiongdi32.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.

Risk And Classification

Primary CVSS: v3.0 5.5 MEDIUM from [email protected]

CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Problem Types: CWE-200 | Information Disclosure


VersionSourceTypeScoreSeverityVector
3.0[email protected]Primary5.5MEDIUMCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
2.0[email protected]Primary4.3AV:N/AC:M/Au:N/C:P/I:N/A:N

CVSS v3.0 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Medium
Authentication
None
Confidentiality
Partial
Integrity
None
Availability
None

AV:N/AC:M/Au:N/C:P/I:N/A:N

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Microsoft Windows 10 - All All All
Operating System Microsoft Windows 10 1511 All All All
Operating System Microsoft Windows 10 1607 All All All
Operating System Microsoft Windows 7 All sp1 All All
Operating System Microsoft Windows 8.1 All All All All
Operating System Microsoft Windows Rt 8.1 All All All All
Operating System Microsoft Windows Server 2008 All sp2 All All
Operating System Microsoft Windows Server 2008 r2 sp1 All All
Operating System Microsoft Windows Server 2012 - All All All
Operating System Microsoft Windows Server 2012 r2 All All All
Operating System Microsoft Windows Server 2016 All All All All
Operating System Microsoft Windows Vista All sp2 All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Microsoft Corporation Windows Graphics Component affected 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 Not specified

References

ReferenceSourceLinkTags
GitHub - k0keoyo/CVE-2017-0038-EXP-C-JS af854a3a-2127-422b-91ae-364da2661108 github.com
Microsoft Windows - 'gdi32.dll' EMR_SETDIBITSTODEVICE Heap Out-of-Bounds Reads / Memory Disclosure - Windows dos Exploit af854a3a-2127-422b-91ae-364da2661108 www.exploit-db.com
{{windowTitle}} af854a3a-2127-422b-91ae-364da2661108 portal.msrc.microsoft.com
0patch Blog: 0patching a 0-day: Windows gdi32.dll memory disclosure (CVE-2017-0038) af854a3a-2127-422b-91ae-364da2661108 0patch.blogspot.com Issue Tracking, Patch, Third Party Advisory
992 - Windows gdi32.dll heap-based out-of-bounds reads / memory disclosure in EMR_SETDIBITSTODEVICE and possibly other records - project-zero - Monorail af854a3a-2127-422b-91ae-364da2661108 bugs.chromium.org Patch, Third Party Advisory
Microsoft GDI32.DLL EMR_SETDIBITSTODEVICE Boundary Error Lets Local Users View Portions of System Memory on the Target System - SecurityTracker af854a3a-2127-422b-91ae-364da2661108 www.securitytracker.com
Microsoft Windows CVE-2017-0038 Incomplete Fix Information Disclosure Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report