Heap-based buffer overflow in .NET and Visual Studio - CVE-2026-118745

 

Heap-based buffer overflow in .NET and Visual Studio - CVE-2026-118745

Published: November 11, 2026


Vulnerability identifier: #VU165809
CSH Severity: High
CVSS v4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-118745
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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

The vulnerability exists due to a heap-based buffer overflow in Visual Studio when processing a specially crafted file. A remote attacker can trick a user into opening the file to execute arbitrary code.


Affected software

.NET
Visual Studio

How to mitigate CVE-2026-118745

Install security update from vendor's website.

.NET - addressed in versions 8.0.34, 8.0.134, 8.0.428, 9.0.23, 9.0.124, 9.0.321, 10.0.15, 10.0.115, 10.0.404, 11.0.0, 11.0.100
Visual Studio - addressed in versions 18.11.4, 18.12.0

External References

Related Security Bulletins