CVE-2025-21172

published 14 Jan 2025 · updated 9 Jun 2026

.NET and Visual Studio Remote Code Execution Vulnerability

7.5HighCVSS 7.5EPSS 2%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 2%. Fixed in .NET 8.0.12, .NET 9.0.1, Visual Studio 14.0.24252.2 and 6 more.

.NET and Visual Studio Remote Code Execution Vulnerability

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Microsoft.NET>=8.0.0 <8.0.12, >=9.0.0 <9.0.18.0.12, 9.0.1
Microsoft.NET 8.0 installed on Windows
Microsoft.NET 9.0 installed on Mac OS
MicrosoftVisual Studio>=14.0.0 <14.0.24252.2, >=15.9.0 <15.9.69, >=16.11.0 <16.11.43, >=17.10.0 <17.10.10, >=17.12.0 <17.12.4, >=17.6.0 <17.6.22, >=17.8.0 <17.8.1714.0.24252.2, 15.9.69, 16.11.43, 17.10.10, 17.12.4, 17.6.22, 17.8.17

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Microsoft, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-21172 severity on Zeptric[![CVE-2025-21172](https://zeptric.io/badge/cve/CVE-2025-21172.svg)](https://zeptric.io/cve/CVE-2025-21172)