Skip to content
Memory corruption Advisory Advanced CVE-2019-1456

OpenType Font Parsing Remote Code Execution Vulnerability (CVE-2019-1456)

The Windows Adobe Type Manager Library mishandled specially crafted OpenType fonts, so a malicious font could trigger remote code execution. On Windows 10 the code ran inside a restricted AppContainer sandbox, while other Windows versions allowed full remote code execution.

Hossein Lotfi Follow

Originally disclosed on Microsoft

High 7.8 View original

Description

A remote code execution vulnerability exists in Microsoft Windows when the Windows Adobe Type Manager Library improperly handles specially crafted OpenType fonts. For all systems except Windows 10, an attacker who successfully exploited the vulnerability could execute code remotely. For systems running Windows 10, an attacker who successfully exploited the vulnerability could execute code in an AppContainer sandbox context with limited privileges and capabilities. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights. There are multiple ways an attacker could exploit the vulnerability, such as by either convincing a user to open a specially crafted document, or by convincing a user to visit a webpage that contains specially crafted embedded OpenType fonts. The update addresses the vulnerability by correcting how the Windows Adobe Type Manager Library handles OpenType fonts.

Graphic Fonts

Graphic Fonts

The original report as published on the Microsoft Security Response Center, by Hossein Lotfi of Trend Micro Zero Day Initiative. 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 font parsing library did not properly validate the structure of OpenType font data, allowing malformed input to corrupt memory during parsing.

Impact

An attacker could run code remotely, and on Windows 10 the code was confined to an AppContainer sandbox with limited privileges, so the full impact applied to other Windows versions.

What the attacker needed

Victim opens a crafted document; or victim visits a crafted webpage

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 font file is normally just a way to draw letters, but Windows has to read and interpret it, and that reading code had a flaw. If someone opened a document or a web page containing a booby-trapped font, the attacker's instructions could run as code on the machine. On newer Windows the damage was limited by a sandbox, which is a restricted box that stops programs from doing much.

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 Hossein Lotfi

View all

65 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.