CVE-2025-21172
High 7.5 CVSS 3.1
Description
.NET and Visual Studio Remote Code Execution Vulnerability
Description as published by the source, in English.
Key facts
- Published
- 2025-01-14
- Last modified
- 2026-06-17
- Assigned by
- secure@microsoft.com
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H- Scored by
- secure@microsoft.com
- Probability of exploitation
-
1.8 %
higher than 76 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Not registered in the sources
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Microsoft.NetCore.App.Runtime.linux-arm (NuGet) | ≥ 8.0.0, < 8.0.12 | Affected | |
| Microsoft.NetCore.App.Runtime.linux-arm (NuGet) | ≥ 9.0.0, < 9.0.1 | Affected | |
| Microsoft.NetCore.App.Runtime.linux-arm64 (NuGet) | ≥ 8.0.0, < 8.0.12 | Affected | |
| Microsoft.NetCore.App.Runtime.linux-arm64 (NuGet) | ≥ 9.0.0, < 9.0.1 | Affected | |
| Microsoft.NetCore.App.Runtime.linux-musl-arm (NuGet) | ≥ 8.0.0, < 8.0.12 | Affected | |
| Microsoft.NetCore.App.Runtime.linux-musl-arm (NuGet) | ≥ 9.0.0, < 9.0.1 | Affected | |
| Microsoft.NetCore.App.Runtime.linux-musl-arm64 (NuGet) | ≥ 8.0.0, < 8.0.12 | Affected | |
| Microsoft.NetCore.App.Runtime.linux-musl-arm64 (NuGet) | ≥ 9.0.0, < 9.0.1 | Affected | |
| Microsoft.NetCore.App.Runtime.linux-musl-x64 (NuGet) | ≥ 8.0.0, < 8.0.12 | Affected | |
| Microsoft.NetCore.App.Runtime.linux-musl-x64 (NuGet) | ≥ 9.0.0, < 9.0.1 | Affected | |
| Microsoft.NetCore.App.Runtime.linux-x64 (NuGet) | ≥ 8.0.0, < 8.0.12 | Affected | |
| Microsoft.NetCore.App.Runtime.linux-x64 (NuGet) | ≥ 9.0.0, < 9.0.1 | Affected | |
| Microsoft.NetCore.App.Runtime.osx-arm64 (NuGet) | ≥ 8.0.0, < 8.0.12 | Affected | |
| Microsoft.NetCore.App.Runtime.osx-arm64 (NuGet) | ≥ 9.0.0, < 9.0.1 | Affected | |
| Microsoft.NetCore.App.Runtime.osx-x64 (NuGet) | ≥ 8.0.0, < 8.0.12 | Affected | |
| Microsoft.NetCore.App.Runtime.osx-x64 (NuGet) | ≥ 9.0.0, < 9.0.1 | Affected | |
| Microsoft.NetCore.App.Runtime.win-arm (NuGet) | ≥ 8.0.0, < 8.0.12 | Affected | |
| Microsoft.NetCore.App.Runtime.win-arm (NuGet) | ≥ 9.0.0, < 9.0.1 | Affected | |
| Microsoft.NetCore.App.Runtime.win-arm64 (NuGet) | ≥ 8.0.0, < 8.0.12 | Affected | |
| Microsoft.NetCore.App.Runtime.win-arm64 (NuGet) | ≥ 9.0.0, < 9.0.1 | Affected | |
| Microsoft.NetCore.App.Runtime.win-x64 (NuGet) | ≥ 8.0.0, < 8.0.12 | Affected | |
| Microsoft.NetCore.App.Runtime.win-x64 (NuGet) | ≥ 9.0.0, < 9.0.1 | Affected | |
| Microsoft.NetCore.App.Runtime.win-x86 (NuGet) | ≥ 9.0.0, < 9.0.1 | Affected | |
| Apple | Macos | all versions listed | Not affected |
| Linux | Linux Kernel | all versions listed | Not affected |
| Microsoft | .net | 8.0.0 | Affected |
| Microsoft | .net | 9.0.0 | Affected |
| Microsoft | Visual Studio 2017 | ≥ 15.0, ≤ 15.8 | Affected |
| Microsoft | Visual Studio 2019 | ≥ 16.0, ≤ 16.10 | Affected |
| Microsoft | Visual Studio 2022 | ≥ 17.10.0, < 17.10.10 | Affected |
| Microsoft | Visual Studio 2022 | ≥ 17.12.0, < 17.12.4 | Affected |
| Microsoft | Visual Studio 2022 | ≥ 17.6.0, < 17.6.22 | Affected |
| Microsoft | Visual Studio 2022 | ≥ 17.8.0, < 17.8.17 | Affected |
| Microsoft | Windows | all versions listed | Not affected |
Weakness type
-
CWE-122: Heap-based Buffer Overflow
The product writes past the end of a buffer that was allocated on the heap.
-
CWE-190: Integer Overflow or Wraparound
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is i…
References
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-21172
- https://www.herodevs.com/vulnerability-directory/cve-2025-21172
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.