Skip to content
Memory corruption Advisory Advanced CVE-2016-0145

GDI+ Remote Code Execution Vulnerability (CVE-2016-0145)

The Windows font library improperly handles specially crafted embedded fonts, allowing an attacker to execute arbitrary code. An attacker could take control of the affected system, install programs, view or change data, or create new accounts with full user rights.

Mateusz Jurczyk Follow

Originally disclosed on Microsoft

Critical View original

Description

A remote code execution vulnerability exists when the Windows font library improperly handles specially crafted embedded fonts. An attacker who successfully exploited the vulnerability could take control of the affected system. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights. Users whose accounts are configured to have fewer user rights on the system could be less impacted than users who operate with administrative user rights. There are multiple ways an attacker could exploit the vulnerability: In a web-based attack scenario, an attacker could host a specially crafted website that is designed to exploit the vulnerability and then convince users to view the website. An attacker would have no way to force users to view the attacker-controlled content. Instead, an attacker would have to convince users to take action, typically by getting them to click a link in an email or instant message that takes users to the attacker's website, or by opening an attachment sent through email. In a file-sharing attack scenario, an attacker could provide a specially crafted document file that is designed to exploit the vulnerability and then convince users to open the document file. The security update addresses the vulnerability by correcting how the Windows font library handles embedded fonts. Note that where the severity is indicated as Critical in the Affected Products table, the Preview Pane is an attack vector for this vulnerability. The security update addresses the vulnerability by correcting how the Windows font library handles embedded fonts.

FAQ

I am running Office 2010, which is listed as affected software. Why am I not being offered the update? The update is not applicable to Office 2010 on Windows Vista and later versions of Windows because the vulnerable code is not present. I am being offered this update for software that is not specifically indicated as being affected in the Affected Software and Vulnerability Severity Ratings table. Why am I being offered this update? When updates address vulnerable code that exists in a component that is shared between multiple Microsoft Office products or shared between multiple versions of the same Microsoft Office product, the update is considered to be applicable to all supported products and versions that contain the vulnerable component. For example, when an update applies to Microsoft Office 2007 products, only Microsoft Office 2007 may be specifically listed in the Affected Software table. However, the update could apply to Microsoft Word 2007, Microsoft Excel 2007, Microsoft Visio 2007, Microsoft Compatibility Pack, Microsoft Excel Viewer, or any other Microsoft Office 2007 product that is not specifically listed in the Affected Software table. Furthermore, when an update applies to Microsoft Office 2010 products, only Microsoft Office 2010 may be specifically listed in the Affected Software table. However, the update could apply to Microsoft Word 2010, Microsoft Excel 2010, Microsoft Visio 2010, Microsoft Visio Viewer, or any other Microsoft Office 2010 product that is not specifically listed in the Affected Software table. For more information on this behavior and recommended actions, see Microsoft Knowledge Base Article 830335 . For a list of Microsoft Office products an update may apply to, refer to the Microsoft Knowledge Base Article associated with the specific update. Are there any prerequisites for any of the updates offered in this bulletin for affected editions of Microsoft Lync 2013 (Skype for Business)? Yes. Customers running affected editions of Microsoft Lync 2013 (Skype for Business) must first install the 2965218 update for Office 2013 released in April, 2015, and then the 3039779 security update released in May, 2015. For more information about these two prerequisite updates, see: https://support.microsoft.com/en-us/kb/2965218 Knowledge Base Article 3039779 Are there any related non-security updates that customers should install along with the Microsoft Live Meeting Console security update? Yes, in addition to releasing a security update for Microsoft Live Meeting Console, Microsoft has released the following non-security updates for the OCS Conferencing Addin for Outlook. Where applicable, Microsoft recommends that customers install these updates to keep their systems up-to-date: OCS Conferencing Addin for Outlook (32-bit) (3144431) OCS Conferencing Addin for Outlook (64-bit) (3144431) See Microsoft Knowledge Base Article 3144431 for more information. Why is the Lync 2010 Attendee (user level install) update only available from the Microsoft Download Center? Microsoft is releasing the update for Lync 2010 Attendee (user level install) to the Microsoft Download Center only. Because the user level installation of Lync 2010 Attendee is handled through a Lync session, distribution methods such as automatic updating are not appropriate for this type of installation scenario.

Microsoft Graphics Component

Microsoft Graphics Component

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 Windows font library does not properly validate or handle embedded fonts, leading to memory corruption that can be exploited.

Impact

An attacker could take control of the affected system, install programs, view, change, or delete data, or create new accounts with full user rights; users with fewer rights could be less impacted.

What the attacker needed

Victim opens a malicious document or visits a malicious…; attacker convinces user to click a link or open an…

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.

A remote code execution vulnerability means an attacker can run their own code on your computer. Here, the Windows font library, which is the part of Windows that reads and displays fonts, mishandles a malicious font file. If you open such a file or visit a website that uses it, the attacker could gain control of your machine.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

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.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.