Vulnerability · Published Jan 14, 2025 · Assigned by microsoft
CVE-2025-21172.NET and Visual Studio Remote Code Execution Vulnerability
High 7.5
In plain English
A high-severity integer overflow in Microsoft Visual Studio 2015 Update 3 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.8% (higher than 79% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)7.5High
Exploit odds (30 days)1.8%top 20.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
.NET and Visual Studio Remote Code Execution Vulnerability
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | aspnetcore-runtime-8.0 | 8.0.12-1.el8_10 | ALSA-2025:0381 |
| AlmaLinux:8 | aspnetcore-runtime-9.0 | 9.0.1-1.el8_10 | ALSA-2025:0382 |
| AlmaLinux:8 | aspnetcore-runtime-dbg-8.0 | 8.0.12-1.el8_10 | ALSA-2025:0381 |
| AlmaLinux:8 | aspnetcore-runtime-dbg-9.0 | 9.0.1-1.el8_10 | ALSA-2025:0382 |
| AlmaLinux:8 | aspnetcore-targeting-pack-8.0 | 8.0.12-1.el8_10 | ALSA-2025:0381 |
| AlmaLinux:8 | aspnetcore-targeting-pack-9.0 | 9.0.1-1.el8_10 | ALSA-2025:0382 |
| AlmaLinux:8 | dotnet | 9.0.102-1.el8_10 | ALSA-2025:0382 |
| AlmaLinux:8 | dotnet-apphost-pack-8.0 | 8.0.12-1.el8_10 | ALSA-2025:0381 |
| AlmaLinux:8 | dotnet-apphost-pack-9.0 | 9.0.1-1.el8_10 | ALSA-2025:0382 |
| AlmaLinux:8 | dotnet-host | 9.0.1-1.el8_10 | ALSA-2025:0382 |
| AlmaLinux:8 | dotnet-hostfxr-8.0 | 8.0.12-1.el8_10 | ALSA-2025:0381 |
| AlmaLinux:8 | dotnet-hostfxr-9.0 | 9.0.1-1.el8_10 | ALSA-2025:0382 |
| AlmaLinux:8 | dotnet-runtime-8.0 | 8.0.12-1.el8_10 | ALSA-2025:0381 |
| AlmaLinux:8 | dotnet-runtime-9.0 | 9.0.1-1.el8_10 | ALSA-2025:0382 |
| AlmaLinux:8 | dotnet-runtime-dbg-8.0 | 8.0.12-1.el8_10 | ALSA-2025:0381 |
| AlmaLinux:8 | dotnet-runtime-dbg-9.0 | 9.0.1-1.el8_10 | ALSA-2025:0382 |
| AlmaLinux:8 | dotnet-sdk-8.0 | 8.0.112-1.el8_10 | ALSA-2025:0381 |
| AlmaLinux:8 | dotnet-sdk-8.0-source-built-artifacts | 8.0.112-1.el8_10 | ALSA-2025:0381 |
| AlmaLinux:8 | dotnet-sdk-9.0 | 9.0.102-1.el8_10 | ALSA-2025:0382 |
| AlmaLinux:8 | dotnet-sdk-9.0-source-built-artifacts | 9.0.102-1.el8_10 | ALSA-2025:0382 |
| AlmaLinux:8 | dotnet-sdk-aot-9.0 | 9.0.102-1.el8_10 | ALSA-2025:0382 |
| AlmaLinux:8 | dotnet-sdk-dbg-8.0 | 8.0.112-1.el8_10 | ALSA-2025:0381 |
| AlmaLinux:8 | dotnet-sdk-dbg-9.0 | 9.0.102-1.el8_10 | ALSA-2025:0382 |
| AlmaLinux:8 | dotnet-targeting-pack-8.0 | 8.0.12-1.el8_10 | ALSA-2025:0381 |
| AlmaLinux:8 | dotnet-targeting-pack-9.0 | 9.0.1-1.el8_10 | ALSA-2025:0382 |
| AlmaLinux:8 | dotnet-templates-8.0 | 8.0.112-1.el8_10 | ALSA-2025:0381 |
| AlmaLinux:8 | dotnet-templates-9.0 | 9.0.102-1.el8_10 | ALSA-2025:0382 |
| AlmaLinux:8 | netstandard-targeting-pack-2.1 | 9.0.102-1.el8_10 | ALSA-2025:0382 |
| Alpine:v3.20 | dotnet8-runtime | 8.0.12-r0 | ALPINE-CVE-2025-21172 |
| Alpine:v3.21 | dotnet8-runtime | 8.0.12-r0 | ALPINE-CVE-2025-21172 |
| Alpine:v3.22 | dotnet8-runtime | 8.0.12-r0 | ALPINE-CVE-2025-21172 |
| Alpine:v3.23 | dotnet8-runtime | 8.0.12-r0 | ALPINE-CVE-2025-21172 |
| Alpine:v3.24 | dotnet8-runtime | 8.0.12-r0 | ALPINE-CVE-2025-21172 |
| Alpine:v3.21 | dotnet9-runtime | 9.0.1-r0 | ALPINE-CVE-2025-21172 |
| Alpine:v3.22 | dotnet9-runtime | 9.0.1-r0 | ALPINE-CVE-2025-21172 |
| Alpine:v3.23 | dotnet9-runtime | 9.0.1-r0 | ALPINE-CVE-2025-21172 |
| Alpine:v3.24 | dotnet9-runtime | 9.0.1-r0 | ALPINE-CVE-2025-21172 |
| NuGet | microsoft.netcore.app.runtime.linux-arm | 9.0.1 | GHSA-jjcv-wr2g-4rv4 |
| NuGet | microsoft.netcore.app.runtime.linux-arm | 8.0.12 | GHSA-jjcv-wr2g-4rv4 |
| NuGet | microsoft.netcore.app.runtime.linux-arm64 | 8.0.12 | GHSA-jjcv-wr2g-4rv4 |
| NuGet | microsoft.netcore.app.runtime.linux-arm64 | 9.0.1 | GHSA-jjcv-wr2g-4rv4 |
| NuGet | microsoft.netcore.app.runtime.linux-musl-arm | 8.0.12 | GHSA-jjcv-wr2g-4rv4 |
| NuGet | microsoft.netcore.app.runtime.linux-musl-arm | 9.0.1 | GHSA-jjcv-wr2g-4rv4 |
| NuGet | microsoft.netcore.app.runtime.linux-musl-arm64 | 8.0.12 | GHSA-jjcv-wr2g-4rv4 |
| NuGet | microsoft.netcore.app.runtime.linux-musl-arm64 | 9.0.1 | GHSA-jjcv-wr2g-4rv4 |
| NuGet | microsoft.netcore.app.runtime.linux-musl-x64 | 8.0.12 | GHSA-jjcv-wr2g-4rv4 |
| NuGet | microsoft.netcore.app.runtime.linux-musl-x64 | 9.0.1 | GHSA-jjcv-wr2g-4rv4 |
| NuGet | microsoft.netcore.app.runtime.linux-x64 | 8.0.12 | GHSA-jjcv-wr2g-4rv4 |
| NuGet | microsoft.netcore.app.runtime.linux-x64 | 9.0.1 | GHSA-jjcv-wr2g-4rv4 |
| NuGet | microsoft.netcore.app.runtime.osx-arm64 | 9.0.1 | GHSA-jjcv-wr2g-4rv4 |
| NuGet | microsoft.netcore.app.runtime.osx-arm64 | 8.0.12 | GHSA-jjcv-wr2g-4rv4 |
| NuGet | microsoft.netcore.app.runtime.osx-x64 | 8.0.12 | GHSA-jjcv-wr2g-4rv4 |
| NuGet | microsoft.netcore.app.runtime.osx-x64 | 9.0.1 | GHSA-jjcv-wr2g-4rv4 |
| NuGet | microsoft.netcore.app.runtime.win-arm | 8.0.12 | GHSA-jjcv-wr2g-4rv4 |
| NuGet | microsoft.netcore.app.runtime.win-arm | 9.0.1 | GHSA-jjcv-wr2g-4rv4 |
| NuGet | microsoft.netcore.app.runtime.win-arm64 | 9.0.1 | GHSA-jjcv-wr2g-4rv4 |
| NuGet | microsoft.netcore.app.runtime.win-arm64 | 8.0.12 | GHSA-jjcv-wr2g-4rv4 |
| NuGet | microsoft.netcore.app.runtime.win-x64 | 8.0.12 | GHSA-jjcv-wr2g-4rv4 |
| NuGet | microsoft.netcore.app.runtime.win-x64 | 9.0.1 | GHSA-jjcv-wr2g-4rv4 |
| NuGet | microsoft.netcore.app.runtime.win-x86 | 9.0.1 | GHSA-jjcv-wr2g-4rv4 |
| Rocky Linux:8 | dotnet8.0 | 0:8.0.112-1.el8_10 | RLSA-2025:0381 |
| Rocky Linux:8 | dotnet9.0 | 0:9.0.102-1.el8_10 | RLSA-2025:0382 |
| Ubuntu:22.04:LTS | dotnet6 | no fix listed | UBUNTU-CVE-2025-21172 |
| Ubuntu:22.04:LTS | dotnet7 | no fix listed | UBUNTU-CVE-2025-21172 |
| Ubuntu:22.04:LTS | dotnet8 | 8.0.112-8.0.12-0ubuntu1~22.04.1 | USN-7210-1 |
| Ubuntu:22.04:LTS | dotnet8 | 8.0.112-8.0.12-0ubuntu1~22.04.1 | UBUNTU-CVE-2025-21172 |
| Ubuntu:24.04:LTS | dotnet8 | 8.0.112-8.0.12-0ubuntu1~24.04.1 | UBUNTU-CVE-2025-21172 |
| Ubuntu:24.04:LTS | dotnet8 | 8.0.112-8.0.12-0ubuntu1~24.04.1 | USN-7210-1 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Microsoft | .NET 8.0 | 8.0.0 – before 8.0.12 |
| Microsoft | .NET 9.0 | 9.0.0 – before 9.0.1 |
| 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-190, 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