Vulnerability · Published Jan 14, 2025 · Assigned by microsoft

CVE-2025-21171.NET Remote Code Execution Vulnerability

High 7.5

In plain English

A high-severity heap buffer overflow in Microsoft Visual Studio 2022 version 17.10 from Microsoft. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.7% (higher than 78% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)1.7%top 22.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

.NET Remote Code Execution Vulnerability

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8aspnetcore-runtime-9.09.0.1-1.el8_10ALSA-2025:0382
AlmaLinux:8aspnetcore-runtime-dbg-9.09.0.1-1.el8_10ALSA-2025:0382
AlmaLinux:8aspnetcore-targeting-pack-9.09.0.1-1.el8_10ALSA-2025:0382
AlmaLinux:8dotnet9.0.102-1.el8_10ALSA-2025:0382
AlmaLinux:8dotnet-apphost-pack-9.09.0.1-1.el8_10ALSA-2025:0382
AlmaLinux:8dotnet-host9.0.1-1.el8_10ALSA-2025:0382
AlmaLinux:8dotnet-hostfxr-9.09.0.1-1.el8_10ALSA-2025:0382
AlmaLinux:8dotnet-runtime-9.09.0.1-1.el8_10ALSA-2025:0382
AlmaLinux:8dotnet-runtime-dbg-9.09.0.1-1.el8_10ALSA-2025:0382
AlmaLinux:8dotnet-sdk-9.09.0.102-1.el8_10ALSA-2025:0382
AlmaLinux:8dotnet-sdk-9.0-source-built-artifacts9.0.102-1.el8_10ALSA-2025:0382
AlmaLinux:8dotnet-sdk-aot-9.09.0.102-1.el8_10ALSA-2025:0382
AlmaLinux:8dotnet-sdk-dbg-9.09.0.102-1.el8_10ALSA-2025:0382
AlmaLinux:8dotnet-targeting-pack-9.09.0.1-1.el8_10ALSA-2025:0382
AlmaLinux:8dotnet-templates-9.09.0.102-1.el8_10ALSA-2025:0382
AlmaLinux:8netstandard-targeting-pack-2.19.0.102-1.el8_10ALSA-2025:0382
Alpine:v3.21dotnet9-runtime9.0.1-r0ALPINE-CVE-2025-21171
Alpine:v3.22dotnet9-runtime9.0.1-r0ALPINE-CVE-2025-21171
Alpine:v3.23dotnet9-runtime9.0.1-r0ALPINE-CVE-2025-21171
Alpine:v3.24dotnet9-runtime9.0.1-r0ALPINE-CVE-2025-21171
NuGetmicrosoft.netcore.app.runtime.linux-arm9.0.1GHSA-p54p-p3qm-8vgj
NuGetmicrosoft.netcore.app.runtime.linux-arm649.0.1GHSA-p54p-p3qm-8vgj
NuGetmicrosoft.netcore.app.runtime.linux-musl-arm9.0.1GHSA-p54p-p3qm-8vgj
NuGetmicrosoft.netcore.app.runtime.linux-musl-arm649.0.1GHSA-p54p-p3qm-8vgj
NuGetmicrosoft.netcore.app.runtime.linux-musl-x649.0.1GHSA-p54p-p3qm-8vgj
NuGetmicrosoft.netcore.app.runtime.linux-x649.0.1GHSA-p54p-p3qm-8vgj
NuGetmicrosoft.netcore.app.runtime.osx-arm649.0.1GHSA-p54p-p3qm-8vgj
NuGetmicrosoft.netcore.app.runtime.osx-x649.0.1GHSA-p54p-p3qm-8vgj
NuGetmicrosoft.netcore.app.runtime.win-arm9.0.1GHSA-p54p-p3qm-8vgj
NuGetmicrosoft.netcore.app.runtime.win-arm649.0.1GHSA-p54p-p3qm-8vgj
NuGetmicrosoft.netcore.app.runtime.win-x649.0.1GHSA-p54p-p3qm-8vgj
NuGetmicrosoft.netcore.app.runtime.win-x869.0.1GHSA-p54p-p3qm-8vgj
Rocky Linux:8dotnet9.00:9.0.102-1.el8_10RLSA-2025:0382
Ubuntu:22.04:LTSdotnet7no fix listedUBUNTU-CVE-2025-21171
Ubuntu:22.04:LTSdotnet88.0.112-8.0.12-0ubuntu1~22.04.1USN-7210-1
Ubuntu:24.04:LTSdotnet88.0.112-8.0.12-0ubuntu1~24.04.1USN-7210-1

Affected products (as reported)

VendorProductVersions
Microsoft .NET 9.0 9.0.0 – before 9.0.1
Microsoft Microsoft Visual Studio 2022 version 17.10 17.10.0 – before 17.10.10
Microsoft Microsoft Visual Studio 2022 version 17.12 17.12.0 – before 17.12.4
Microsoft Microsoft Visual Studio 2022 version 17.6 17.6.0 – before 17.6.22
Microsoft Microsoft Visual Studio 2022 version 17.8 17.8.0 – before 17.8.17
Microsoft PowerShell 7.5 7.5.0 – before 7.5.0

Weakness: CWE-122 · 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

References