What’s Vulnerable › Vulnerabilities
CVE-2025-21176: .NET, .NET Framework, and Visual Studio Remote Code Execution Vulnerability
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-01-14 · updated 2026-06-17
- Weakness: CWE-126
Description
.NET, .NET Framework, and Visual Studio Remote Code Execution Vulnerability
Affected products
- Microsoft .NET: 8.0.0, 9.0.0
- Microsoft .NET Framework: 4.6, 4.6.2, 3.5, 4.8.1, 4.7, 4.7.1 (+2)
- Microsoft Visual Studio 2017 version 15.9 (includes 15.0 - 15.8): from 15.0 before 15.9.69 — fixed in 15.9.69
- Microsoft .NET 8.0: from 8.0.0 before 8.0.12 — fixed in 8.0.12
- Microsoft .NET 9.0: from 9.0.0 before 9.0.1 — fixed in 9.0.1
- 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.7699 — fixed in 10.0.14393.7699
- Microsoft .NET Framework 3.5 AND 4.7.2: from 4.7.0 before 4.7.04126.01 — fixed in 4.7.04126.01
- Microsoft .NET Framework 3.5 AND 4.8: from 4.8.0 before 4.8.04775.01 — fixed in 4.8.04775.01
- Microsoft .NET Framework 3.5 AND 4.8.1: from 4.8.1 before 4.8.1.09294.01 — fixed in 4.8.1.09294.01
- Microsoft .NET Framework 4.6.2: from 4.7.0 before 4.7.04126.01 — fixed in 4.7.04126.01
- Microsoft .NET Framework 4.6.2/4.7/4.7.1/4.7.2: from 4.7.0 before 4.7.04126.01 — fixed in 4.7.04126.01
- Microsoft .NET Framework 4.6/4.6.2: from 10.0.0.0 before 10.0.10240.20890 — fixed in 10.0.10240.20890
- Microsoft .NET Framework 4.8: from 4.8.0 before 4.8.04775.01 — fixed in 4.8.04775.01
- Microsoft Visual Studio 2015 Update 3: from 14.0.0 before 14.0.24252.2 — fixed in 14.0.24252.2
- Microsoft Visual Studio 2019 version 16.11 (includes 16.0 - 16.10): from 16.11.0 before 16.11.43 — fixed in 16.11.43
- Microsoft Visual Studio 2022 version 17.10: from 17.10.0 before 17.10.10 — fixed in 17.10.10
- Microsoft Visual Studio 2022 version 17.6: from 17.6.0 before 17.6.22 — fixed in 17.6.22
- Microsoft Visual Studio 2022 version 17.8: from 17.8.0 before 17.8.17 — fixed in 17.8.17
- Microsoft Visual Studio 2017 version 15.9 (includes 15.0 - 15.8): from 15.9.0 before 15.9.69 — fixed in 15.9.69
- Microsoft Visual Studio 2022 version 17.14: from 17.12.0 before 17.12.4 — fixed in 17.12.4
How to fix
Upgrade to a fixed version: Microsoft Visual Studio 2017 version 15.9 (includes 15.0 - 15.8) 15.9.69; Microsoft .NET 8.0 8.0.12; Microsoft .NET 9.0 9.0.1; Microsoft .NET Framework 3.5 AND 4.6.2/4.7/4.7.1/4.7.2 10.0.14393.7699; Microsoft .NET Framework 3.5 AND 4.7.2 4.7.04126.01; Microsoft .NET Framework 3.5 AND 4.8 4.8.04775.01; Microsoft .NET Framework 3.5 AND 4.8.1 4.8.1.09294.01; Microsoft .NET Framework 4.6.2 4.7.04126.01; Microsoft .NET Framework 4.6.2/4.7/4.7.1/4.7.2 4.7.04126.01; Microsoft .NET Framework 4.6/4.6.2 10.0.10240.20890; Microsoft .NET Framework 4.8 4.8.04775.01; Microsoft Visual Studio 2015 Update 3 14.0.24252.2. Check the vendor advisory for mitigations.
References
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-21176
- https://www.herodevs.com/vulnerability-directory/cve-2025-21176
Get alerted when CVE-2025-21176 or the next vulnerability affects your stack