Skip to content
OpenAdvisories
High · 8.8 CVE-2025-21176 BIT-dotnet-2025-21176BIT-dotnet-sdk-2025-21176EUVD-2025-0073GHSA-gjf6-3w4p-7xfh

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

Published Jan 14, 2025 · Updated Jun 9, 2026 · Assigned by microsoft

Vendor: Microsoft Product: .NET 8.0 Product: .NET 9.0 Product: Microsoft .NET Framework 3.5 AND 4.6.2/4.7/4.7.1/4.7.2 Product: Microsoft .NET Framework 3.5 AND 4.7.2 Product: Microsoft .NET Framework 3.5 AND 4.8 Product: Microsoft .NET Framework 3.5 AND 4.8.1 Product: Microsoft .NET Framework 4.6.2 Product: Microsoft .NET Framework 4.6.2/4.7/4.7.1/4.7.2 Product: Microsoft .NET Framework 4.6/4.6.2 Product: Microsoft .NET Framework 4.8 Product: Microsoft Visual Studio 2015 Update 3 Product: Microsoft Visual Studio 2017 version 15.9 (includes 15.0 - 15.8) Product: Microsoft Visual Studio 2019 version 16.11 (includes 16.0 - 16.10) Product: Microsoft Visual Studio 2022 version 17.10 Product: Microsoft Visual Studio 2022 version 17.12 Product: Microsoft Visual Studio 2022 version 17.6 Product: Microsoft Visual Studio 2022 version 17.8 Package: dotnet-bootstrap-9 Package: dotnet6 Package: dotnet7 Package: dotnet8 Package: dotnet8-runtime Package: dotnet9-runtime Package: Microsoft.NETCore.App.Runtime.linux-arm Package: Microsoft.NETCore.App.Runtime.linux-arm64 Package: Microsoft.NETCore.App.Runtime.linux-musl-arm Package: Microsoft.NETCore.App.Runtime.linux-musl-arm64 Package: Microsoft.NETCore.App.Runtime.linux-musl-x64 Package: Microsoft.NETCore.App.Runtime.linux-x64 Package: Microsoft.NetCore.App.Runtime.osx-arm64 Package: Microsoft.NETCore.App.Runtime.osx-x64 Package: Microsoft.NETCore.App.Runtime.win-arm Package: Microsoft.NETCore.App.Runtime.win-arm64 Package: Microsoft.NETCore.App.Runtime.win-x64 Package: Microsoft.NETCore.App.Runtime.win-x86 Ecosystem: Alpine Ecosystem: NuGet Ecosystem: Ubuntu Ecosystem: Wolfi

Description

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

Affected products

VendorProductAffectedFixed
Microsoft .NET 8.0 8.0.0 – < 8.0.12 8.0.12
Microsoft .NET 9.0 9.0.0 – < 9.0.1 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 – < 10.0.14393.7699 10.0.14393.7699
Microsoft Microsoft .NET Framework 3.5 AND 4.7.2 4.7.0 – < 4.7.04126.01 4.7.04126.01
Microsoft Microsoft .NET Framework 3.5 AND 4.8 4.8.0 – < 4.8.04775.01 4.8.04775.01
Microsoft Microsoft .NET Framework 3.5 AND 4.8.1 4.8.1 – < 4.8.1.09294.01 4.8.1.09294.01
Microsoft Microsoft .NET Framework 4.6.2 4.7.0 – < 4.7.04126.01 4.7.04126.01
Microsoft Microsoft .NET Framework 4.6.2/4.7/4.7.1/4.7.2 4.7.0 – < 4.7.04126.01 4.7.04126.01
Microsoft Microsoft .NET Framework 4.6/4.6.2 10.0.0.0 – < 10.0.10240.20890 10.0.10240.20890
Microsoft Microsoft .NET Framework 4.8 4.8.0 – < 4.8.04775.01 4.8.04775.01
Microsoft Microsoft Visual Studio 2015 Update 3 14.0.0 – < 14.0.24252.2 14.0.24252.2
Microsoft Microsoft Visual Studio 2017 version 15.9 (includes 15.0 - 15.8) 15.9.0 – < 15.9.69 15.9.69
Microsoft Microsoft Visual Studio 2019 version 16.11 (includes 16.0 - 16.10) 16.11.0 – < 16.11.43 16.11.43
Microsoft Microsoft Visual Studio 2022 version 17.10 17.10.0 – < 17.10.10 17.10.10
Microsoft Microsoft Visual Studio 2022 version 17.12 17.12.0 – < 17.12.4 17.12.4
Microsoft Microsoft Visual Studio 2022 version 17.6 17.6.0 – < 17.6.22 17.6.22
Microsoft Microsoft Visual Studio 2022 version 17.8 17.8.0 – < 17.8.17 17.8.17

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS dotnet8 8.0.112-8.0.12-0ubuntu1~24.04.1 USN-7210-1
Ubuntu 22.04 LTS dotnet6 +1 No fix yet —
Ubuntu 22.04 LTS dotnet8 8.0.112-8.0.12-0ubuntu1~22.04.1 USN-7210-1
ReleasePackageFixed inAdvisory
RHEL 9 dotnet-host +8 9.0.1-1.el9_5 RHBA-2025:0305
RHEL 9 dotnet-hostfxr-8.0 +7 8.0.12-1.el9_5 RHBA-2025:0304
RHEL 9 dotnet8.0 +4 8.0.112-1.el9_5 RHBA-2025:0304
RHEL 9 dotnet9.0 +6 9.0.102-1.el9_5 RHBA-2025:0305
RHEL 8 dotnet +7 9.0.102-1.el8_10 RHSA-2025:0382
RHEL 8 dotnet-host +8 9.0.1-1.el8_10 RHSA-2025:0382
RHEL 8 dotnet-hostfxr-8.0 +7 8.0.12-1.el8_10 RHSA-2025:0381
RHEL 8 dotnet8.0 +4 8.0.112-1.el8_10 RHSA-2025:0381
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 9.4 EUS dotnet-host +8 8.0.12-1.el9_4 RHSA-2025:0532
RHEL 9.4 EUS dotnet8.0 +5 8.0.112-1.el9_4 RHSA-2025:0532

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 dotnet +6 9.0.102-1.el8_10 ALSA-2025:0382
AlmaLinux 8 dotnet-host +8 9.0.1-1.el8_10 ALSA-2025:0382
AlmaLinux 8 dotnet-hostfxr-8.0 +7 8.0.12-1.el8_10 ALSA-2025:0381
AlmaLinux 8 dotnet-sdk-8.0 +3 8.0.112-1.el8_10 ALSA-2025:0381

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 dotnet8.0 8.0.112-1.el8_10 RLSA-2025:0381
Rocky Linux 8 dotnet9.0 9.0.102-1.el8_10 RLSA-2025:0382
ReleasePackageFixed inAdvisory
Alpine v3.24 dotnet8-runtime 8.0.12-r0 —
Alpine v3.24 dotnet9-runtime 9.0.1-r0 —
Alpine v3.23 dotnet8-runtime 8.0.12-r0 —
Alpine v3.23 dotnet9-runtime 9.0.1-r0 —
Alpine v3.22 dotnet8-runtime 8.0.12-r0 —
Alpine v3.22 dotnet9-runtime 9.0.1-r0 —
Alpine v3.21 dotnet8-runtime 8.0.12-r0 —
Alpine v3.21 dotnet9-runtime 9.0.1-r0 —
Alpine v3.20 dotnet8-runtime 8.0.12-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 dotnet +5 8.0.112-1.amzn2023 ALAS2023-2025-844
Amazon Linux 2023 dotnet-host +8 8.0.12-1.amzn2023 ALAS2023-2025-844

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 dotnet +6 9.0.102-1.0.1.el8_10 ELSA-2025-0382
Oracle Linux 8 dotnet-host +8 9.0.1-1.0.1.el8_10 ELSA-2025-0382
Oracle Linux 8 dotnet-hostfxr-8.0 +7 8.0.12-1.0.1.el8_10 ELSA-2025-0381
Oracle Linux 8 dotnet-sdk-8.0 +3 8.0.112-1.0.1.el8_10 ELSA-2025-0381

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling dotnet-bootstrap-9 9.0.200-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
NuGet Microsoft.NetCore.App.Runtime.linux-arm >= 9.0.0, < 9.0.1 9.0.1 GHSA-gjf6-3w4p-7xfh
NuGet Microsoft.NetCore.App.Runtime.linux-arm >= 8.0.0, < 8.0.12 8.0.12 GHSA-gjf6-3w4p-7xfh
NuGet Microsoft.NetCore.App.Runtime.linux-arm64 >= 9.0.0, < 9.0.1 9.0.1 GHSA-gjf6-3w4p-7xfh
NuGet Microsoft.NetCore.App.Runtime.linux-arm64 >= 8.0.0, < 8.0.12 8.0.12 GHSA-gjf6-3w4p-7xfh
NuGet Microsoft.NetCore.App.Runtime.linux-musl-arm >= 9.0.0, < 9.0.1 9.0.1 GHSA-gjf6-3w4p-7xfh
NuGet Microsoft.NetCore.App.Runtime.linux-musl-arm >= 8.0.0, < 8.0.12 8.0.12 GHSA-gjf6-3w4p-7xfh
NuGet Microsoft.NetCore.App.Runtime.linux-musl-arm64 >= 9.0.0, < 9.0.1 9.0.1 GHSA-gjf6-3w4p-7xfh
NuGet Microsoft.NetCore.App.Runtime.linux-musl-arm64 >= 8.0.0, < 8.0.12 8.0.12 GHSA-gjf6-3w4p-7xfh
NuGet Microsoft.NetCore.App.Runtime.linux-musl-x64 >= 9.0.0, < 9.0.1 9.0.1 GHSA-gjf6-3w4p-7xfh
NuGet Microsoft.NetCore.App.Runtime.linux-musl-x64 >= 8.0.0, < 8.0.12 8.0.12 GHSA-gjf6-3w4p-7xfh
NuGet Microsoft.NetCore.App.Runtime.linux-x64 >= 9.0.0, < 9.0.1 9.0.1 GHSA-gjf6-3w4p-7xfh
NuGet Microsoft.NetCore.App.Runtime.linux-x64 >= 8.0.0, < 8.0.12 8.0.12 GHSA-gjf6-3w4p-7xfh
NuGet Microsoft.NetCore.App.Runtime.osx-arm64 >= 9.0.0, < 9.0.1 9.0.1 GHSA-gjf6-3w4p-7xfh
NuGet Microsoft.NetCore.App.Runtime.osx-arm64 >= 8.0.0, < 8.0.12 8.0.12 GHSA-gjf6-3w4p-7xfh
NuGet Microsoft.NetCore.App.Runtime.osx-x64 >= 9.0.0, < 9.0.1 9.0.1 GHSA-gjf6-3w4p-7xfh
NuGet Microsoft.NetCore.App.Runtime.osx-x64 >= 8.0.0, < 8.0.12 8.0.12 GHSA-gjf6-3w4p-7xfh
NuGet Microsoft.NetCore.App.Runtime.win-arm >= 9.0.0, < 9.0.1 9.0.1 GHSA-gjf6-3w4p-7xfh
NuGet Microsoft.NetCore.App.Runtime.win-arm >= 8.0.0, < 8.0.12 8.0.12 GHSA-gjf6-3w4p-7xfh
NuGet Microsoft.NetCore.App.Runtime.win-arm64 >= 9.0.0, < 9.0.1 9.0.1 GHSA-gjf6-3w4p-7xfh
NuGet Microsoft.NetCore.App.Runtime.win-arm64 >= 8.0.0, < 8.0.12 8.0.12 GHSA-gjf6-3w4p-7xfh
NuGet Microsoft.NetCore.App.Runtime.win-x64 >= 9.0.0, < 9.0.1 9.0.1 GHSA-gjf6-3w4p-7xfh
NuGet Microsoft.NetCore.App.Runtime.win-x64 >= 8.0.0, < 8.0.12 8.0.12 GHSA-gjf6-3w4p-7xfh
NuGet Microsoft.NetCore.App.Runtime.win-x86 >= 9.0.0, < 9.0.1 9.0.1 GHSA-gjf6-3w4p-7xfh
NuGet Microsoft.NetCore.App.Runtime.win-x86 >= 8.0.0, < 8.0.12 8.0.12 GHSA-gjf6-3w4p-7xfh

Advisories 16

References