Remote code execution in Microsoft .NET, .NET Framework, and Visual Studio



Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2025-21176
CWE-ID CWE-125
Exploitation vector Network
Public exploit N/A
Vulnerable software
Visual Studio
Universal components / Libraries / Software for developers

Microsoft .NET Framework
Server applications / Frameworks for developing and running applications

.NET
Other software / Other software solutions

Vendor Microsoft

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) Out-of-bounds read

EUVDB-ID: #VU102784

Risk: High

CVSSv4.0: 6.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber]

CVE-ID: CVE-2025-21176

CWE-ID: CWE-125 - Out-of-bounds read

Exploit availability: No

Description

The vulnerability allows a remote attacker to gain access to potentially sensitive information.

The vulnerability exists due to a boundary condition in .NET, .NET Framework and Visual Studio. A remote attacker can create a specially crafted file, trick the victim into opening it, trigger an out-of-bounds read error and read contents of memory on the system, leading to arbitrary code execution.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Visual Studio: 16.0 - 2022 version 17.12

Microsoft .NET Framework: 3.5 - 4.8.1

.NET: 8.0.0 - 9.0

CPE2.3 External links

https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2025-21176


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###