CVE-2025-21172: .NET and Visual Studio Remote Code Execution Vulnerability
Vulnerability summary
CVE-2025-21172 is a high (CVSS 7.5) Heap-based Buffer Overflow vulnerability in microsoft microsoft visual studio 2015 update 3. EPSS estimates a 1.84% chance of exploitation in the next 30 days, higher than 79% of scored vulnerabilities.
Not severe (CVSS 7.5, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 6 · Related 2Timeline
- 14-01-2025PublishedVulnerability first disclosed.
- 09-06-2026Last modifiedVulnerability information updated.
Description
.NET and Visual Studio Remote Code Execution Vulnerability
CVSS metrics
7 scores · 7 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · WolfiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · ChainguardEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · NugetEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · AlpineEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
1.84%
Chance of exploitation in the next 30 days
Percentile
79%
Versus all other CVEs
30-day change
Increase +0.03 pp
From 1.81% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-122Heap-based Buffer OverflowThe product writes past the end of a buffer that was allocated on the heap.
- CWE-190Integer Overflow or WraparoundThe 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 incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
Affected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Microsoft13 products
- microsoft visual studio 2015 update 3≥ 14.0.0, < 14.0.24252.2
- microsoft visual studio 2017 version 15.9 (includes 15.0 - 15.8)≥ 15.9.0, < 15.9.69
- microsoft visual studio 2019 version 16.11 (includes 16.0 - 16.10)≥ 16.11.0, < 16.11.43
- microsoft visual studio 2022 version 17.10≥ 17.10.0, < 17.10.10
- microsoft visual studio 2022 version 17.12≥ 17.12.0, < 17.12.4
NuGet12 products
- Microsoft.NETCore.App.Runtime.linux-arm≥ 9.0.0, < 9.0.1 | ≥ 8.0.0, < 8.0.12
- Microsoft.NETCore.App.Runtime.linux-arm64≥ 9.0.0, < 9.0.1 | ≥ 8.0.0, < 8.0.12
- Microsoft.NETCore.App.Runtime.linux-musl-arm≥ 9.0.0, < 9.0.1 | ≥ 8.0.0, < 8.0.12
- Microsoft.NETCore.App.Runtime.linux-musl-arm64≥ 9.0.0, < 9.0.1 | ≥ 8.0.0, < 8.0.12
- Microsoft.NETCore.App.Runtime.linux-musl-x64≥ 9.0.0, < 9.0.1 | ≥ 8.0.0, < 8.0.12
Ubuntu3 products
- dotnet6All versions (No fix recorded)
- dotnet7All versions (No fix recorded)
- dotnet8< 8.0.112-8.0.12-0ubuntu1~22.04.1 | < 8.0.112-8.0.12-0ubuntu1~24.04.1
Alpine2 products
- dotnet8-runtime< 8.0.12-r0
- dotnet9-runtime< 9.0.1-r0
Chainguard1 product
- dotnet-bootstrap-9< 9.0.200-r0
Wolfi1 product
- dotnet-bootstrap-9< 9.0.200-r0
6 vendors · 32 products
References
10 links- github.com/dotnet/runtimePACKAGE