CVE-2020-16874

Visual Studio Remote Code Execution Vulnerability

Description

<p>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.</p> <p>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.</p> <p>The update addresses the vulnerability by correcting how Visual Studio handles objects in memory.</p>

7.8
CVSS
Severity: High
CVSS 3.1 •
CVSS 2.0 •
EPSS 5.87% Top 10%
Vendor Advisory microsoft.com
Affected: Microsoft Microsoft Visual Studio 2019 version 16.7 (includes 16.0 – 16.6)
Affected: Microsoft Microsoft Visual Studio 2017 version 15.9 (includes 15.0 - 15.8)
Affected: Microsoft Microsoft Visual Studio 2019 version 16.0
Affected: Microsoft Microsoft Visual Studio 2019 version 16.4 (includes 16.0 - 16.3)
Affected: Microsoft Microsoft Visual Studio 2012 Update 5
Affected: Microsoft Microsoft Visual Studio 2013 Update 5
Affected: Microsoft Microsoft Visual Studio 2015 Update 3
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2020-16874?
CVE-2020-16874 has been scored as a high severity vulnerability.
How to fix CVE-2020-16874?
To fix CVE-2020-16874, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2020-16874 being actively exploited in the wild?
It is possible that CVE-2020-16874 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~6% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2020-16874?
CVE-2020-16874 affects Microsoft Microsoft Visual Studio 2019 version 16.7 (includes 16.0 – 16.6), Microsoft Microsoft Visual Studio 2017 version 15.9 (includes 15.0 - 15.8), Microsoft Microsoft Visual Studio 2019 version 16.0, Microsoft Microsoft Visual Studio 2019 version 16.4 (includes 16.0 - 16.3), Microsoft Microsoft Visual Studio 2012 Update 5, Microsoft Microsoft Visual Studio 2013 Update 5, Microsoft Microsoft Visual Studio 2015 Update 3.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.