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

Microsoft Speech API Remote Code Execution Vulnerability (CVE-2019-0985)

The Microsoft Speech API mishandled text-to-speech input, corrupting memory. An attacker who convinced a user to open a crafted document could execute arbitrary code as that user.

Ke Liu Follow

Originally disclosed on Microsoft

Critical 7.8 View original

Description

A remote code execution vulnerability exists when the Microsoft Speech API (SAPI) improperly handles text-to-speech (TTS) input. The vulnerability could corrupt memory in a way that enables an attacker to execute arbitrary code in the context of the current user. To exploit the vulnerability, an attacker would need to convince a user to open a specially crafted document containing TTS content invoked through a scripting language. The update address the vulnerability by modifying how the system handles objects 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 Ke Liu of Tencent Security Xuanwu Lab. 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-safety flaw in how the Speech API processes text-to-speech input, such as a buffer or object handling error.

Impact

An attacker could execute arbitrary code in the context of the current user, but only if the user opens a crafted document.

What the attacker needed

Victim opens a crafted document; document contains TTS content via scripting

The fix

The update was fixed by modifying how the system handles objects 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.

Text-to-speech software turns written words into spoken audio. Here, feeding it a specially made document could confuse the program's memory, and an attacker could then run their own code on the victim's computer with the victim's permissions.

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 Ke Liu

View all

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