Integer overflow in Microsoft .NET and Visual Studio



| Updated: 2025-03-10
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2025-21172
CWE-ID CWE-190
Exploitation vector Network
Public exploit N/A
Vulnerable software
Visual Studio
Universal components / Libraries / Software for developers

.NET for Linux
Universal components / Libraries / Software for developers

.NET for macOS
Universal components / Libraries / Software for developers

.NET
Other software / Other software solutions

Vendor Microsoft

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Integer overflow

EUVDB-ID: #VU102804

Risk: Medium

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

CVE-ID: CVE-2025-21172

CWE-ID: CWE-190 - Integer overflow

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to integer overflow in .NET and Visual Studio. A remote attacker can trick a victim to open a specially crafted file, trigger integer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Visual Studio: 15.9 - 17.10.9 17.10.35431.56

.NET: 8.0.0 - 9.0.0

.NET for Linux: 8.0.0 - 9.0.0

.NET for macOS: 8.0.0 - 9.0.0

CPE2.3 External links

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


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###