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

DirectWrite Remote Code Execution Vulnerability (CVE-2019-1123)

DirectWrite mishandled objects in memory, allowing an attacker to execute arbitrary code. An attacker could take control of the system by convincing a user to open a crafted document or visit a malicious webpage.

Mateusz Jurczyk Follow

Originally disclosed on Microsoft

High 7.8 View original

Description

A remote code execution vulnerability exists in the way that DirectWrite handles objects in memory. An attacker who successfully exploited this 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. There are multiple ways an attacker could exploit the vulnerability, such as by convincing a user to open a specially crafted document, or by convincing a user to visit an untrusted webpage. The security update addresses the vulnerability by correcting how DirectWrite handles objects in memory.

Microsoft Graphics Component

Microsoft Graphics Component

Microsoft

Microsoft

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 a memory corruption bug in how DirectWrite processes objects, though the text does not specify the exact mistake.

Impact

An attacker could take full control of the affected system, including installing programs, viewing or changing data, or creating accounts with full user rights.

What the attacker needed

Victim opens a crafted document; or victim visits an untrusted 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.

DirectWrite is a Windows component that renders text. A memory handling flaw meant a malicious file or webpage could make the computer run the attacker's code, giving them control of the 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.