CVE-2016-0170

HIGH

Microsoft Windows - Remote Code Execution via GDI Crafted Document

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2016-0170. PoCs published by Google Security Research.

AI-analyzed exploit summary This exploit demonstrates a heap-based buffer overflow in Windows GDI (gdi32.dll) via the ExtEscape() API when processing malformed EMF files. The vulnerability arises from an integer overflow in the cjInput parameter, leading to a memcpy-based overflow when a small buffer is allocated but a large copy is attempted.

Description

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 and 1511 allows remote attackers to execute arbitrary code via a crafted document, aka "Windows Graphics Component RCE Vulnerability."

Exploits (1)

exploitdb WORKING POC VERIFIED
by Google Security Research · textdosmultiple
https://www.exploit-db.com/exploits/39834

This exploit demonstrates a heap-based buffer overflow in Windows GDI (gdi32.dll) via the ExtEscape() API when processing malformed EMF files. The vulnerability arises from an integer overflow in the cjInput parameter, leading to a memcpy-based overflow when a small buffer is allocated but a large copy is attempted.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Microsoft Windows GDI (gdi32.dll) on Windows 7 64-bit (and likely other versions)
No auth needed
Prerequisites: Ability to deliver a malicious EMF file to the target system · Target system must process the EMF file with a printer-associated Device Context
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (4)

Core 4
Core References
Third Party Advisory, VDB Entry vdb-entry x_refsource_sectrack
http://www.securitytracker.com/id/1035823
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/89864

Scores

CVSS v3 8.8
EPSS 0.4859
EPSS Percentile 98.7%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Details

CWE
CWE-284
Status published
Products (10)
microsoft/windows_10
microsoft/windows_10 1511
microsoft/windows_7 (2 CPE variants)
microsoft/windows_8.1
microsoft/windows_rt_8.1
microsoft/windows_server_2008
microsoft/windows_server_2008 r2 sp1
microsoft/windows_server_2012
microsoft/windows_server_2012 r2
microsoft/windows_vista
Published May 11, 2016
Tracked Since Feb 18, 2026