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

- Severity: High 7.5 (CVSS:3.1, scored by microsoft) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.84%, higher than 79% of CVEs (2026-12-02)
- Published: 2025-01-14T18:04:38.469Z
- Modified: 2026-09-10T03:50:28.727Z
- Also known as: GHSA-jjcv-wr2g-4rv4, BIT-DOTNET-2025-21172, BIT-DOTNET-SDK-2025-21172
- Weaknesses: CWE-122, CWE-190
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: microsoft

## Description

.NET and Visual Studio Remote Code Execution Vulnerability

(As written by CVE List.)

## Affected

- Microsoft .NET 8.0: from 8.0.0 before 8.0.12
- Microsoft .NET 9.0: from 9.0.0 before 9.0.1
- Microsoft Microsoft Visual Studio 2015 Update 3: from 14.0.0 before 14.0.24252.2
- Microsoft Microsoft Visual Studio 2017 version 15.9 (includes 15.0 - 15.8): from 15.9.0 before 15.9.69
- Microsoft Microsoft Visual Studio 2019 version 16.11 (includes 16.0 - 16.10): from 16.11.0 before 16.11.43
- Microsoft Microsoft Visual Studio 2022 version 17.10: from 17.10.0 before 17.10.10
- Microsoft Microsoft Visual Studio 2022 version 17.12: from 17.12.0 before 17.12.4
- Microsoft Microsoft Visual Studio 2022 version 17.6: from 17.6.0 before 17.6.22
- Microsoft Microsoft Visual Studio 2022 version 17.8: from 17.8.0 before 17.8.17
- Microsoft.NetCore.App.Runtime.linux-arm (NuGet): from 9.0.0 before 9.0.1; from 8.0.0 before 8.0.12
- Microsoft.NetCore.App.Runtime.linux-arm64 (NuGet): from 9.0.0 before 9.0.1; from 8.0.0 before 8.0.12
- Microsoft.NetCore.App.Runtime.linux-musl-arm (NuGet): from 9.0.0 before 9.0.1; from 8.0.0 before 8.0.12
- Microsoft.NetCore.App.Runtime.linux-musl-arm64 (NuGet): from 9.0.0 before 9.0.1; from 8.0.0 before 8.0.12
- Microsoft.NetCore.App.Runtime.linux-musl-x64 (NuGet): from 9.0.0 before 9.0.1; from 8.0.0 before 8.0.12
- Microsoft.NetCore.App.Runtime.linux-x64 (NuGet): from 9.0.0 before 9.0.1; from 8.0.0 before 8.0.12
- Microsoft.NetCore.App.Runtime.osx-arm64 (NuGet): from 9.0.0 before 9.0.1; from 8.0.0 before 8.0.12
- Microsoft.NetCore.App.Runtime.osx-x64 (NuGet): from 9.0.0 before 9.0.1; from 8.0.0 before 8.0.12
- Microsoft.NetCore.App.Runtime.win-arm (NuGet): from 9.0.0 before 9.0.1; from 8.0.0 before 8.0.12
- Microsoft.NetCore.App.Runtime.win-arm64 (NuGet): from 9.0.0 before 9.0.1; from 8.0.0 before 8.0.12
- Microsoft.NetCore.App.Runtime.win-x64 (NuGet): from 9.0.0 before 9.0.1; from 8.0.0 before 8.0.12
- Microsoft.NetCore.App.Runtime.win-x86 (NuGet): from 9.0.0 before 9.0.1
- microsoft .net: 8.0.0; 9.0.0
- microsoft visual_studio_2017: from 15.0 up to 15.8
- microsoft visual_studio_2019: from 16.0 up to 16.10
- microsoft visual_studio_2022: 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
- dotnet (Bitnami): from 8.0.0 before 8.0.1; from 9.0.0 before 9.0.1
- dotnet-sdk (Bitnami): from 8.0.0 before 8.0.101; from 9.0.0 before 9.0.100

## Every score

- microsoft: CVSS:3.1 7.5 High `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`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-21172> (advisory, patch, vendor-advisory, web)
- <https://www.herodevs.com/vulnerability-directory/cve-2025-21172> (web)
- <https://github.com/dotnet/runtime/security/advisories/GHSA-jjcv-wr2g-4rv4> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-21172> (advisory, web)
- <https://github.com/dotnet/runtime> (package)

## Sources

- CVE List: [CVE-2025-21172](https://www.cve.org/CVERecord?id=CVE-2025-21172), CVE Terms of Use, modified 2026-06-09
- GitHub Advisory Database: [GHSA-jjcv-wr2g-4rv4](https://github.com/advisories/GHSA-jjcv-wr2g-4rv4), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-21172](https://nvd.nist.gov/vuln/detail/CVE-2025-21172), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-DOTNET-2025-21172](https://osv.dev/vulnerability/BIT-DOTNET-2025-21172), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-DOTNET-SDK-2025-21172](https://osv.dev/vulnerability/BIT-DOTNET-SDK-2025-21172), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2025-21172 · Whole record: https://cve.day/CVE-2025-21172.json · Rebuilt by cve.day 2026-11-25T22:58:53.241Z
