What’s Vulnerable › Vulnerabilities
CVE-2023-36796: Visual Studio Remote Code Execution Vulnerability
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2023-09-12 · updated 2026-06-17
- Weakness: CWE-191
Description
Visual Studio Remote Code Execution Vulnerability
Affected products
- Microsoft .NET: 6.0.0, 7.0.0
- Microsoft .NET Framework: 3.5.1, 3.5, 2.0-sp2, 3.0-sp2, 4.6.2, 4.8 (+4)
- Microsoft Visual Studio 2017 version 15.9 (includes 15.0 - 15.8): from 15.0 before 15.9.57 — fixed in 15.9.57
- Microsoft Visual Studio 2019: from 16.0 before 16.11.30 — fixed in 16.11.30
- Microsoft Visual Studio 2022 version 17.14: from 17.2 before 17.2.19; from 17.4 before 17.4.11; from 17.7 before 17.7.4 — fixed in 17.2.19, 17.4.11, 17.7.4
- Microsoft .NET 6.0: from 6.0.0 before 6.0.24 — fixed in 6.0.24
- Microsoft .NET 7.0: from 7.0.0 before 7.0.13 — fixed in 7.0.13
- Microsoft .NET Framework 2.0 Service Pack 2: from 2.0.0 before 3.0.30729.8957 — fixed in 3.0.30729.8957
- Microsoft .NET Framework 3.0 Service Pack 2: from 3.0.0 before 3.0.30729.8957 — fixed in 3.0.30729.8957
- Microsoft .NET Framework 3.5: from 3.5.0 before 3.0.30729.8957 — fixed in 3.0.30729.8957
- Microsoft .NET Framework 3.5.1: from 3.5.0 before 3.0.30729.8957 — fixed in 3.0.30729.8957
- Microsoft .NET Framework 3.5 and 4.6.2: from 4.7.0 before 10.0.10240.20162 — fixed in 10.0.10240.20162
- Microsoft .NET Framework 3.5 AND 4.6.2/4.7/4.7.1/4.7.2: from 3.0.0.0 before 10.0.14393.6252 — fixed in 10.0.14393.6252
- Microsoft .NET Framework 3.5 AND 4.7.2: from 4.7.0 before 4.7.04063.05 — fixed in 4.7.04063.05
- Microsoft .NET Framework 3.5 AND 4.8: from 4.8.0 before 4.8.04667.03 — fixed in 4.8.04667.03
- Microsoft .NET Framework 3.5 AND 4.8.1: from 4.8.1 before 4.8.09186.01 — fixed in 4.8.09186.01
- Microsoft .NET Framework 4.6.2: from 4.7.0 before 4.7.04063.01 — fixed in 4.7.04063.01
- Microsoft .NET Framework 4.6.2/4.7/4.7.1/4.7.2: from 4.7.0 before 4.7.04063.01 — fixed in 4.7.04063.01
- Microsoft .NET Framework 4.8: from 4.8.0 before 4.8.04667.02 — fixed in 4.8.04667.02
- Microsoft Visual Studio 2013 Update 5: from 12.0.0 before 12.0.40707.0 — fixed in 12.0.40707.0
- Microsoft Visual Studio 2015 Update 3: from 14.0.0 before 14.0.27559.0 — fixed in 14.0.27559.0
- Microsoft Visual Studio 2019 version 16.11 (includes 16.0 - 16.10): from 16.11.0 before 16.11.30 — fixed in 16.11.30
- Microsoft Visual Studio 2022 version 17.2: from 17.2.0 before 17.2.21 — fixed in 17.2.21
- Microsoft Visual Studio 2022 version 17.4: from 17.4.0 before 17.4.13 — fixed in 17.4.13
- Microsoft Visual Studio 2022 version 17.6: from 17.6.0 before 17.6.9 — fixed in 17.6.9
- Microsoft PowerShell 7.2: from 7.2.0 before 7.2.12 — fixed in 7.2.12
- Microsoft Visual Studio 2017 version 15.9 (includes 15.0 - 15.8): from 15.9.0 before 15.9.57 — fixed in 15.9.57
- Microsoft Visual Studio 2022 version 17.14: from 17.7.0 before 17.7.6 — fixed in 17.7.6
How to fix
Upgrade to a fixed version: Microsoft Visual Studio 2017 version 15.9 (includes 15.0 - 15.8) 15.9.57; Microsoft Visual Studio 2019 16.11.30; Microsoft Visual Studio 2022 version 17.14 17.2.19, 17.4.11, 17.7.4; Microsoft .NET 6.0 6.0.24; Microsoft .NET 7.0 7.0.13; Microsoft .NET Framework 2.0 Service Pack 2 3.0.30729.8957; Microsoft .NET Framework 3.0 Service Pack 2 3.0.30729.8957; Microsoft .NET Framework 3.5 3.0.30729.8957; Microsoft .NET Framework 3.5.1 3.0.30729.8957; Microsoft .NET Framework 3.5 and 4.6.2 10.0.10240.20162; Microsoft .NET Framework 3.5 AND 4.6.2/4.7/4.7.1/4.7.2 10.0.14393.6252; Microsoft .NET Framework 3.5 AND 4.7.2 4.7.04063.05. Check the vendor advisory for mitigations.
References
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-36796
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-36796
Get alerted when CVE-2023-36796 or the next vulnerability affects your stack