Vulnerability · Published Jan 14, 2025 · Assigned by microsoft

CVE-2025-21176.NET, .NET Framework, and Visual Studio Remote Code Execution Vulnerability

High 8.8

In plain English

A high-severity security flaw in Microsoft .NET Framework 3.5 AND 4.6.2/4.7/4.7.1/4.7.2 from Microsoft. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.4% (higher than 84% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

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

Official description

.NET, .NET Framework, and Visual Studio Remote Code Execution Vulnerability

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8aspnetcore-runtime-8.08.0.12-1.el8_10ALSA-2025:0381
AlmaLinux:8aspnetcore-runtime-9.09.0.1-1.el8_10ALSA-2025:0382
AlmaLinux:8aspnetcore-runtime-dbg-8.08.0.12-1.el8_10ALSA-2025:0381
AlmaLinux:8aspnetcore-runtime-dbg-9.09.0.1-1.el8_10ALSA-2025:0382
AlmaLinux:8aspnetcore-targeting-pack-8.08.0.12-1.el8_10ALSA-2025:0381
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-8.08.0.12-1.el8_10ALSA-2025:0381
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-8.08.0.12-1.el8_10ALSA-2025:0381
AlmaLinux:8dotnet-hostfxr-9.09.0.1-1.el8_10ALSA-2025:0382
AlmaLinux:8dotnet-runtime-8.08.0.12-1.el8_10ALSA-2025:0381
AlmaLinux:8dotnet-runtime-9.09.0.1-1.el8_10ALSA-2025:0382
AlmaLinux:8dotnet-runtime-dbg-8.08.0.12-1.el8_10ALSA-2025:0381
AlmaLinux:8dotnet-runtime-dbg-9.09.0.1-1.el8_10ALSA-2025:0382
AlmaLinux:8dotnet-sdk-8.08.0.112-1.el8_10ALSA-2025:0381
AlmaLinux:8dotnet-sdk-8.0-source-built-artifacts8.0.112-1.el8_10ALSA-2025:0381
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-8.08.0.112-1.el8_10ALSA-2025:0381
AlmaLinux:8dotnet-sdk-dbg-9.09.0.102-1.el8_10ALSA-2025:0382
AlmaLinux:8dotnet-targeting-pack-8.08.0.12-1.el8_10ALSA-2025:0381
AlmaLinux:8dotnet-targeting-pack-9.09.0.1-1.el8_10ALSA-2025:0382
AlmaLinux:8dotnet-templates-8.08.0.112-1.el8_10ALSA-2025:0381
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.20dotnet8-runtime8.0.12-r0ALPINE-CVE-2025-21176
Alpine:v3.21dotnet8-runtime8.0.12-r0ALPINE-CVE-2025-21176
Alpine:v3.22dotnet8-runtime8.0.12-r0ALPINE-CVE-2025-21176
Alpine:v3.23dotnet8-runtime8.0.12-r0ALPINE-CVE-2025-21176
Alpine:v3.24dotnet8-runtime8.0.12-r0ALPINE-CVE-2025-21176
Alpine:v3.21dotnet9-runtime9.0.1-r0ALPINE-CVE-2025-21176
Alpine:v3.22dotnet9-runtime9.0.1-r0ALPINE-CVE-2025-21176
Alpine:v3.23dotnet9-runtime9.0.1-r0ALPINE-CVE-2025-21176
Alpine:v3.24dotnet9-runtime9.0.1-r0ALPINE-CVE-2025-21176
NuGetmicrosoft.netcore.app.runtime.linux-arm8.0.12GHSA-gjf6-3w4p-7xfh
NuGetmicrosoft.netcore.app.runtime.linux-arm9.0.1GHSA-gjf6-3w4p-7xfh
NuGetmicrosoft.netcore.app.runtime.linux-arm649.0.1GHSA-gjf6-3w4p-7xfh
NuGetmicrosoft.netcore.app.runtime.linux-arm648.0.12GHSA-gjf6-3w4p-7xfh
NuGetmicrosoft.netcore.app.runtime.linux-musl-arm8.0.12GHSA-gjf6-3w4p-7xfh
NuGetmicrosoft.netcore.app.runtime.linux-musl-arm9.0.1GHSA-gjf6-3w4p-7xfh
NuGetmicrosoft.netcore.app.runtime.linux-musl-arm648.0.12GHSA-gjf6-3w4p-7xfh
NuGetmicrosoft.netcore.app.runtime.linux-musl-arm649.0.1GHSA-gjf6-3w4p-7xfh
NuGetmicrosoft.netcore.app.runtime.linux-musl-x649.0.1GHSA-gjf6-3w4p-7xfh
NuGetmicrosoft.netcore.app.runtime.linux-musl-x648.0.12GHSA-gjf6-3w4p-7xfh
NuGetmicrosoft.netcore.app.runtime.linux-x648.0.12GHSA-gjf6-3w4p-7xfh
NuGetmicrosoft.netcore.app.runtime.linux-x649.0.1GHSA-gjf6-3w4p-7xfh
NuGetmicrosoft.netcore.app.runtime.osx-arm648.0.12GHSA-gjf6-3w4p-7xfh
NuGetmicrosoft.netcore.app.runtime.osx-arm649.0.1GHSA-gjf6-3w4p-7xfh
NuGetmicrosoft.netcore.app.runtime.osx-x649.0.1GHSA-gjf6-3w4p-7xfh
NuGetmicrosoft.netcore.app.runtime.osx-x648.0.12GHSA-gjf6-3w4p-7xfh
NuGetmicrosoft.netcore.app.runtime.win-arm8.0.12GHSA-gjf6-3w4p-7xfh
NuGetmicrosoft.netcore.app.runtime.win-arm9.0.1GHSA-gjf6-3w4p-7xfh
NuGetmicrosoft.netcore.app.runtime.win-arm648.0.12GHSA-gjf6-3w4p-7xfh
NuGetmicrosoft.netcore.app.runtime.win-arm649.0.1GHSA-gjf6-3w4p-7xfh
NuGetmicrosoft.netcore.app.runtime.win-x648.0.12GHSA-gjf6-3w4p-7xfh
NuGetmicrosoft.netcore.app.runtime.win-x649.0.1GHSA-gjf6-3w4p-7xfh
NuGetmicrosoft.netcore.app.runtime.win-x869.0.1GHSA-gjf6-3w4p-7xfh
NuGetmicrosoft.netcore.app.runtime.win-x868.0.12GHSA-gjf6-3w4p-7xfh
Rocky Linux:8dotnet8.00:8.0.112-1.el8_10RLSA-2025:0381
Rocky Linux:8dotnet9.00:9.0.102-1.el8_10RLSA-2025:0382
Ubuntu:22.04:LTSdotnet6no fix listedUBUNTU-CVE-2025-21176
Ubuntu:22.04:LTSdotnet7no fix listedUBUNTU-CVE-2025-21176
Ubuntu:22.04:LTSdotnet88.0.112-8.0.12-0ubuntu1~22.04.1USN-7210-1
Ubuntu:22.04:LTSdotnet88.0.112-8.0.12-0ubuntu1~22.04.1UBUNTU-CVE-2025-21176
Ubuntu:24.04:LTSdotnet88.0.112-8.0.12-0ubuntu1~24.04.1UBUNTU-CVE-2025-21176
Ubuntu:24.04:LTSdotnet88.0.112-8.0.12-0ubuntu1~24.04.1USN-7210-1

Affected products (as reported)

VendorProductVersions
Microsoft .NET 8.0 8.0.0 – before 8.0.12
Microsoft .NET 9.0 9.0.0 – before 9.0.1
Microsoft Microsoft .NET Framework 3.5 AND 4.6.2/4.7/4.7.1/4.7.2 3.0.0.0 – before 10.0.14393.7699
Microsoft Microsoft .NET Framework 3.5 AND 4.7.2 4.7.0 – before 4.7.04126.01
Microsoft Microsoft .NET Framework 3.5 AND 4.8 4.8.0 – before 4.8.04775.01
Microsoft Microsoft .NET Framework 3.5 AND 4.8.1 4.8.1 – before 4.8.1.09294.01
Microsoft Microsoft .NET Framework 4.6.2 4.7.0 – before 4.7.04126.01
Microsoft Microsoft .NET Framework 4.6.2/4.7/4.7.1/4.7.2 4.7.0 – before 4.7.04126.01
Microsoft Microsoft .NET Framework 4.6/4.6.2 10.0.0.0 – before 10.0.10240.20890
Microsoft Microsoft .NET Framework 4.8 4.8.0 – before 4.8.04775.01
Microsoft Microsoft Visual Studio 2015 Update 3 14.0.0 – before 14.0.24252.2
Microsoft Microsoft Visual Studio 2017 version 15.9 (includes 15.0 - 15.8) 15.9.0 – before 15.9.69
Microsoft Microsoft Visual Studio 2019 version 16.11 (includes 16.0 - 16.10) 16.11.0 – before 16.11.43
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

Weakness: CWE-126 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C

References