What’s Vulnerable › Vulnerabilities
CVE-2023-24897: .NET, .NET Framework, and 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-06-14 · updated 2026-06-17
- Weakness: CWE-122
Description
.NET, .NET Framework, and Visual Studio Remote Code Execution Vulnerability
Affected products
- Microsoft .NET: 6.0.0, 7.0.0
- Microsoft .NET Framework: 4.8, 4.6.2, 4.7, 4.7.1, 4.7.2, 3.5 (+1)
- Microsoft Visual Studio: 2015-update3, 2015-update5
- Microsoft Visual Studio 2017 version 15.9 (includes 15.0 - 15.8): from 15.0 through 15.8; from 15.9 before 15.9.55 — fixed in 15.9.55
- Microsoft Visual Studio 2019: from 16.0 through 16.10; from 16.11 before 16.11.27 — fixed in 16.11.27
- Microsoft Visual Studio 2022 version 17.14: from 17.0 before 17.0.22; from 17.2 before 17.2.16; from 17.4 before 17.4.8; from 17.6 before 17.6.3 — fixed in 17.0.22, 17.2.16, 17.4.8, 17.6.3
- Microsoft .NET 6.0: from 6.0.0 before 6.0.18 — fixed in 6.0.18
- Microsoft .NET 7.0: from 7.0.0 before 7.0.7 — fixed in 7.0.7
- Microsoft .NET Framework 3.5 and 4.6.2: from 4.7.0 before 10.0.10240.19983 — fixed in 10.0.10240.19983
- 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.5989 — fixed in 10.0.14393.5989
- Microsoft .NET Framework 3.5 AND 4.7.2: from 4.7.0 before 4.7.4050.0 — fixed in 4.7.4050.0
- Microsoft .NET Framework 3.5 AND 4.8: from 4.8.0 before 4.8.4644.0 — fixed in 4.8.4644.0
- Microsoft .NET Framework 3.5 AND 4.8.1: from 4.8.1 before 4.8.9166.0 — fixed in 4.8.9166.0
- Microsoft .NET Framework 4.6.2: from 4.7.0 before 4.7.04043.0 — fixed in 4.7.04043.0
- Microsoft .NET Framework 4.6.2/4.7/4.7.1/4.7.2: from 4.7.0 before 4.7.04043.0 — fixed in 4.7.04043.0
- Microsoft .NET Framework 4.8: from 4.8.0 before 4.8.4644.0 — fixed in 4.8.4644.0
- Microsoft Visual Studio 2013 Update 5: from 12.0.0 before 12.0.40700.0 — fixed in 12.0.40700.0
- Microsoft Visual Studio 2015 Update 3: from 14.0.0 before 14.0.27555.0 — fixed in 14.0.27555.0
- Microsoft Visual Studio 2019 version 16.11 (includes 16.0 - 16.10): from 16.11.0 before 16.11.27 — fixed in 16.11.27
- Microsoft Visual Studio 2022 version 17.0: from 17.0.0 before 17.0.22 — fixed in 17.0.22
- Microsoft Visual Studio 2022 version 17.2: from 17.2.0 before 17.2.16 — fixed in 17.2.16
- Microsoft Visual Studio 2022 version 17.4: from 17.4.0 before 17.4.8 — fixed in 17.4.8
- Microsoft Visual Studio 2022 version 17.6: from 17.6.0 before 17.6.3 — fixed in 17.6.3
- 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.55 — fixed in 15.9.55
How to fix
Upgrade to a fixed version: Microsoft Visual Studio 2017 version 15.9 (includes 15.0 - 15.8) 15.9.55; Microsoft Visual Studio 2019 16.11.27; Microsoft Visual Studio 2022 version 17.14 17.0.22, 17.2.16, 17.4.8, 17.6.3; Microsoft .NET 6.0 6.0.18; Microsoft .NET 7.0 7.0.7; Microsoft .NET Framework 3.5 and 4.6.2 10.0.10240.19983; Microsoft .NET Framework 3.5 AND 4.6.2/4.7/4.7.1/4.7.2 10.0.14393.5989; Microsoft .NET Framework 3.5 AND 4.7.2 4.7.4050.0; Microsoft .NET Framework 3.5 AND 4.8 4.8.4644.0; Microsoft .NET Framework 3.5 AND 4.8.1 4.8.9166.0; Microsoft .NET Framework 4.6.2 4.7.04043.0; Microsoft .NET Framework 4.6.2/4.7/4.7.1/4.7.2 4.7.04043.0. Check the vendor advisory for mitigations.
References
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-24897
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-24897
Get alerted when CVE-2023-24897 or the next vulnerability affects your stack