CVE-2025-21172 Details
Description
.NET and Visual Studio Remote Code Execution Vulnerability
A remote code execution vulnerability has been identified in .NET and Microsoft Visual Studio. This issue arises from a heap-based buffer overflow, which is triggered by an integer overflow in the 'msdia140.dll' file. The vulnerability affects multiple versions of the .NET runtime and several releases of Visual Studio. Exploitation requires convincing a user to open a maliciously crafted package file in Visual Studio.
Users can upgrade to .NET Runtime versions 8.0.12 or 9.0.1. For Visual Studio, users should install the latest security update available for their version. Visual Studio 2015 Update 3 users can download the security update from the Microsoft Update Catalog.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 28, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://www.herodevs.com/vulnerability-directory/cve-2025-21172 | CVE | |
| https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-21172 | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-122 | Heap-based Buffer Overflow | [email protected] |
| CWE-190 | Integer Overflow or Wraparound | [email protected] |
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| microsoft .net | 8.0.0 9.0.0 |
CPE
Remediation
| |
| apple macos | All versions |
CPE
Remediation
| |
| linux linux kernel | All versions |
CPE
Remediation
| |
| microsoft windows | All versions |
CPE
Remediation
| |
| microsoft visual studio 2017 | >= 15.0, <= 15.8 |
CPE
Remediation
| |
| microsoft visual studio 2019 | >= 16.0, <= 16.10 |
CPE
Remediation
| |
| microsoft visual studio 2022 | >= 17.6.0, < 17.6.22 >= 17.8.0, < 17.8.17 >= 17.10.0, < 17.10.10 >= 17.12.0, < 17.12.4 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 6, 2025 | CVE Modified | CVE |
| Feb 5, 2025 | Initial Analysis | [email protected] |
| Jan 14, 2025 | New CVE Received | [email protected] |