Skip to content
Memory corruption Advisory Advanced CVE-2017-8691

Express Compressed Fonts Remote Code Execution Vulnerability (CVE-2017-8691)

The Windows font library improperly handles specially crafted embedded fonts, allowing an attacker to execute arbitrary code on the target system. An attacker could exploit this by hosting a malicious website or sending a crafted document, and convincing a user to view or open it.

Wayne Low Follow

Originally disclosed on Microsoft

High 5.0 View original

Description

A remote code execution vulnerability exists when the Windows font library improperly handles specially crafted embedded fonts. An attacker who successfully exploits exploited this vulnerability would gain code execution on the target system. 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 Messenger 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.

Windows Kernel-Mode Drivers

Windows Kernel-Mode Drivers

The original report as published on the Microsoft Security Response Center, by Wayne Low of Fortinet’s FortiGuard Labs. 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 fails to properly validate or handle embedded font data, leading to memory corruption that allows code execution.

What the attacker needed

Victim opens a crafted document or visits a malicious site

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.

This is a flaw in how Windows processes fonts embedded in files or web pages. If a user opens a malicious font file, the attacker can run their own code on the user's computer, potentially taking control of it. The attacker must first trick the user into visiting a website or opening a document.

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 Wayne Low

View all

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