Home / Microsoft / Microsoft Visual Studio 2019 version 16.7 (includes 16.0 – 16.6) / CVE-2020-16874
CVE-2020-16874: is it exploited, and which versions of Microsoft Visual Studio 2019 version 16.7 (includes 16.0 – 16.6) are affected and fixed?
CVE-2020-16874 is a Remote Code Execution vulnerability in Microsoft Visual Studio 2019 version 16.7 (includes 16.0 – 16.6). It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:39 UTC). Affected: Microsoft Visual Studio 2019 version 16.7 (includes 16.0 – 16.6) from 16.0.0 before publication, Microsoft Visual Studio 2017 version 15.9 (includes 15.0 - 15.8) from 15.9.0 before publication, Microsoft Visual Studio 2019 version 16.0 from 16.0 before publication and 4 more (CVE record by microsoft). Fixed in publication (CVE record by microsoft). Severity: High (7.8, CVSS 3.1, from microsoft).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:39 UTC, CVE record November 19, 2026, 07:16 UTC and NVD November 19, 2026, 08:07 UTC.
What is CVE-2020-16874?
Visual Studio Remote Code Execution Vulnerability
<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>
From the CVE record by microsoft, last updated August 4, 2024, 13:45 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Microsoft | Microsoft Visual Studio 2019 version 16.7 (includes 16.0 – 16.6) Unknown | from 16.0.0 before publication | publication |
| Microsoft | Microsoft Visual Studio 2017 version 15.9 (includes 15.0 - 15.8) Unknown | from 15.9.0 before publication | publication |
| Microsoft | Microsoft Visual Studio 2019 version 16.0 Unknown | from 16.0 before publication | publication |
| Microsoft | Microsoft Visual Studio 2019 version 16.4 (includes 16.0 - 16.3) Unknown | from 16.0 before publication | publication |
| Microsoft | Microsoft Visual Studio 2012 Update 5 Unknown | from 11.0.0 before publication | publication |
| Microsoft | Microsoft Visual Studio 2013 Update 5 Unknown | from 12.0.0 before publication | publication |
| Microsoft | Microsoft Visual Studio 2015 Update 3 Unknown | from 14.0.0 before publication | publication |
As the CVE record by microsoft states it, last updated August 4, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| microsoft | visual studio | 2012 | application |
| microsoft | visual studio | 2013 | application |
| microsoft | visual studio | 2015 | application |
| microsoft | visual studio 2017 | from 15.0 through 15.8 | application |
| microsoft | visual studio 2019 | from 16.0 through 16.3 | application |
| microsoft | visual studio 2019 | from 16.5 through 16.6 | application |
NVD analysis (status Modified), last modified June 17, 2026, 02:58 UTC.
How severe is CVE-2020-16874?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.8 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C | microsoft |
| High 7.8 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | NVD |
| High 9.3 | CVSS 2.0 | AV:N/AC:M/Au:N/C:C/I:C/A:C | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2020-16874 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 4.29% probability of exploitation activity in the next 30 days, percentile 91.4 (FIRST EPSS, scores of December 3, 2026)
Where are the vendor advisories and references?
When was it published, and where is the official record?
- Reserved
- August 4, 2020
- Published
- September 11, 2020, 17:08 UTC
- CVE record updated
- August 4, 2024, 13:45 UTC by microsoft
- NVD
- Modified, last modified June 17, 2026, 02:58 UTC
- Last checked
- CVE list November 19, 2026, 07:16 UTC; NVD November 19, 2026, 08:07 UTC; KEV December 3, 2026, 16:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Microsoft Visual Studio 2019 version 16.7 (includes 16.0 – 16.6)?
- Apr 15, 2022CVE-2022-24513 Microsoft Visual Studio 2017 version 15.9 (includes 15.0 - 15.8): Elevation of Privilege
- Apr 12, 2022CVE-2022-24767 Microsoft Visual Studio 2017 version 15.9 (includes 15.0 - 15.8): uncontrolled search path (DLL or library hijacking)
- Mar 9, 2022CVE-2022-24512 Microsoft Visual Studio 2019 version 16.7 (includes 16.0 – 16.6): code injection (remote code execution)
- Mar 9, 2022CVE-2022-24464 Microsoft .NET 6.0: denial of service (uncontrolled resource consumption)
- Dec 15, 2021CVE-2021-43877 Microsoft Visual Studio 2019 version 16.7 (includes 16.0 – 16.6): Elevation of Privilege
- Nov 10, 2021CVE-2021-42319 Microsoft Visual Studio 2017 version 15.9 (includes 15.0 - 15.8): privilege escalation (improper privilege management)
- Nov 10, 2021CVE-2021-42277 Microsoft Visual Studio 2015 Update 3: privilege escalation (improper privilege management)
- Sep 15, 2021CVE-2021-36952 Microsoft Visual Studio 2017 version 15.9 (includes 15.0 - 15.8): out-of-bounds write (memory corruption)
Every CVE in Microsoft Visual Studio 2019 version 16.7 (includes 16.0 – 16.6)
Questions about CVE-2020-16874
Is CVE-2020-16874 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:39 UTC. FIRST's EPSS gives it a 4.29% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Microsoft Visual Studio 2019 version 16.7 (includes 16.0 – 16.6) are affected by CVE-2020-16874?
Microsoft Visual Studio 2019 version 16.7 (includes 16.0 – 16.6) from 16.0.0 before publication, Microsoft Visual Studio 2017 version 15.9 (includes 15.0 - 15.8) from 15.9.0 before publication, Microsoft Visual Studio 2019 version 16.0 from 16.0 before publication, Microsoft Visual Studio 2019 version 16.4 (includes 16.0 - 16.3) from 16.0 before publication, Microsoft Visual Studio 2012 Update 5 from 11.0.0 before publication, Microsoft Visual Studio 2013 Update 5 from 12.0.0 before publication and 1 more, per the CVE record by microsoft. The tables above give every range the sources list.
Which version fixes CVE-2020-16874?
publication, per the CVE record by microsoft. Check the vendor's advisory before you rely on it.
How severe is CVE-2020-16874?
High (7.8, CVSS 3.1, from microsoft). The severity table above shows each score with its source.
Where is the official record of CVE-2020-16874?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.