What’s Vulnerable › Vulnerabilities
CVE-2025-21171: .NET Remote Code Execution Vulnerability
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.7% 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-122
Description
.NET Remote Code Execution Vulnerability
Affected products
- Microsoft .NET: 9.0.0
- Microsoft Powershell: 7.5
- Microsoft Visual Studio 2022 version 17.14: from 17.6.0 before 17.6.22; from 17.8.0 before 17.8.17; from 17.10.0 before 17.10.10; from 17.12.0 before 17.12.4 — fixed in 17.10.10, 17.12.4, 17.6.22, 17.8.17
- Microsoft .NET 9.0: from 9.0.0 before 9.0.1 — fixed in 9.0.1
- 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 PowerShell 7.5: from 7.5.0 before 7.5.0 — fixed in 7.5.0
- 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 2022 version 17.14 17.10.10, 17.12.4, 17.6.22, 17.8.17; Microsoft .NET 9.0 9.0.1; Microsoft Visual Studio 2022 version 17.10 17.10.10; Microsoft Visual Studio 2022 version 17.6 17.6.22; Microsoft Visual Studio 2022 version 17.8 17.8.17; Microsoft PowerShell 7.5 7.5.0; Microsoft Visual Studio 2022 version 17.14 17.12.4. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2025-21171 or the next vulnerability affects your stack