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

Windows Imaging API Remote Code Execution Vulnerability (CVE-2019-1311)

The Windows Imaging API mishandles objects in memory when processing a crafted .WIM file, which can corrupt memory. An attacker who convinces a user to open such a file could execute arbitrary code with the user's privileges.

Symeon Paraschoudis Follow

Originally disclosed on Microsoft

High 7.8 View original

Description

A remote code execution vulnerability exists when the Windows Imaging API improperly handles objects in memory. 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 have to convince a user to open a specially crafted .WIM file. The update addresses the vulnerability by modifying how the WIM service handles objects in memory.

Microsoft Windows

Microsoft Windows

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Symeon Paraschoudis of Pen Test Partners. 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 the Windows Imaging API processes objects while parsing a .WIM file.

Impact

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

What the attacker needed

Victim opens a crafted .WIM file

The fix

The vulnerability was fixed by an update that modifies how the WIM service 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.

A .WIM file is a Windows imaging format used for system backups and deployments. The software that reads these files has a memory handling flaw, so opening a malicious file can let an attacker run their own code on your computer with your 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 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.