# CVE-2025-21171: .NET 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.72%, higher than 78% of CVEs (2026-12-01)
- Published: 2025-01-14T18:03:22.942Z
- Modified: 2026-09-10T03:50:24.698Z
- Also known as: GHSA-p54p-p3qm-8vgj, BIT-DOTNET-2025-21171, BIT-DOTNET-SDK-2025-21171, BIT-POWERSHELL-2025-21171
- Weaknesses: CWE-122
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: microsoft

## Description

.NET Remote Code Execution Vulnerability

(As written by CVE List.)

## Affected

- Microsoft .NET 9.0: from 9.0.0 before 9.0.1
- 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 PowerShell 7.5: from 7.5.0 before 7.5.0
- Microsoft.NetCore.App.Runtime.linux-arm (NuGet): from 9.0.0 before 9.0.1
- Microsoft.NetCore.App.Runtime.linux-arm64 (NuGet): from 9.0.0 before 9.0.1
- Microsoft.NetCore.App.Runtime.linux-musl-arm (NuGet): from 9.0.0 before 9.0.1
- Microsoft.NetCore.App.Runtime.linux-musl-arm64 (NuGet): from 9.0.0 before 9.0.1
- Microsoft.NetCore.App.Runtime.linux-musl-x64 (NuGet): from 9.0.0 before 9.0.1
- Microsoft.NetCore.App.Runtime.linux-x64 (NuGet): from 9.0.0 before 9.0.1
- Microsoft.NetCore.App.Runtime.osx-arm64 (NuGet): from 9.0.0 before 9.0.1
- Microsoft.NetCore.App.Runtime.osx-x64 (NuGet): from 9.0.0 before 9.0.1
- Microsoft.NetCore.App.Runtime.win-arm (NuGet): from 9.0.0 before 9.0.1
- Microsoft.NetCore.App.Runtime.win-arm64 (NuGet): from 9.0.0 before 9.0.1
- Microsoft.NetCore.App.Runtime.win-x64 (NuGet): from 9.0.0 before 9.0.1
- Microsoft.NetCore.App.Runtime.win-x86 (NuGet): from 9.0.0 before 9.0.1
- microsoft .net: 9.0.0
- microsoft powershell: 7.5
- 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 9.0.0 before 9.0.1
- dotnet-sdk (Bitnami): from 9.0.0 before 9.0.100
- powershell (Bitnami): from 7.5.0 before 7.5.2

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

## References

- <https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-21171> (advisory, patch, vendor-advisory, web)
- <https://github.com/dotnet/runtime/security/advisories/GHSA-p54p-p3qm-8vgj> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-21171> (advisory, web)
- <https://github.com/dotnet/runtime> (package)

## Sources

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

---

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