Skip to content
Memory corruption Advisory Advanced CVE-2020-16856

Visual Studio Remote Code Execution Vulnerability (CVE-2020-16856)

Visual Studio improperly handles objects in memory, allowing an attacker to run arbitrary code in the context of the current user. The attacker must convince a user to open a specially crafted file with an affected version of Visual Studio.

Wen guang Jiao Follow

Originally disclosed on Microsoft

High 7.8 View original

Description

A remote code execution vulnerability exists in Visual Studio when it improperly handles objects in memory. An attacker who successfully exploited the vulnerability could run arbitrary code in the context of the current user. If the current user is logged on with administrative user rights, an attacker 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. 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. To exploit the vulnerability, an attacker would have to convince a user to open a specially crafted file with an affected version of Visual Studio. The update addresses the vulnerability by correcting how Visual Studio handles objects in memory.

Visual Studio

Visual Studio

Microsoft

Microsoft

The original report as published on the Microsoft Security Response Center, by Wen guang Jiao working with Trend Micro's 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 a memory corruption issue in how Visual Studio processes specially crafted files.

Impact

An attacker could run arbitrary code as the current user; if that user has administrative rights, the attacker could take control of the system.

What the attacker needed

Victim opens a specially crafted file; affected version of Visual Studio

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.

Visual Studio is a program for writing code. A bug in how it handles certain files in its memory lets an attacker run their own code on your computer if you open a malicious file. The attacker needs you to open that file, so they might send it to you and ask you to open it.

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.