Skip to content
Info disclosure Advisory Advanced CVE-2016-3216

Windows Graphics Component Information Disclosure Vulnerability (CVE-2016-3216)

The Windows Graphics Component mishandles objects in memory, letting an attacker retrieve information that defeats Address Space Layout Randomization. On its own this does not run code, but it can be paired with another flaw, such as a remote code execution bug, to make that exploit reliable.

Mateusz Jurczyk Follow

Originally disclosed on Microsoft

Description

An information disclosure vulnerability exists when the Windows Graphics Component (GDI32.dll) fails to properly handle objects in memory, allowing an attacker to retrieve information that could lead to an Address Space Layout Randomization (ASLR) bypass. An attacker who successfully exploited this vulnerability could cause an information disclosure to bypass the ASLR security feature that protects users from a broad class of vulnerabilities. The security feature bypass itself does not allow arbitrary code execution. However, an attacker could use the ASLR bypass vulnerability in conjunction with another vulnerability, such as a remote code execution vulnerability, that could take advantage of the ASLR bypass to run arbitrary code. To exploit this vulnerability, an attacker would have to convince a use to run a specially crafted application. The security update addresses the vulnerability by correcting how the Windows Graphics Component handles addresses in memory.

Microsoft Graphics Component

Microsoft Graphics Component

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Mateusz Jurczyk of Google Project Zero. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the graphics component returned or exposed memory contents, or handled addresses in memory incorrectly, so address information leaked to the caller.

Impact

An attacker who convinces a user to run a crafted application could disclose information and bypass ASLR, which may then be combined with another vulnerability to run arbitrary code; the bypass alone does not allow code execution.

What the attacker needed

Victim runs a crafted application

The fix

The vulnerability was fixed by a security update that corrects how the Windows Graphics Component handles addresses in memory.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

Programs are loaded into memory at randomised addresses so attackers cannot predict where things are; this is called ASLR. Here a Windows graphics library leaked information about those addresses, so the randomness could be worked out. That alone does not let someone run their own code, but it makes a separate memory bug much easier to exploit.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by Mateusz Jurczyk

View all

207 more disclosed reports, best first.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.