CVE-2026-118745: Microsoft Security Advisory CVE-2026-118745 - Visual Studio Remote Code Execution Vulnerability
Published 2026-11-11 · Updated 2026-11-11 · Also known as GHSA-x8x8-p968-x646
Summary
A heap out-of-bounds write vulnerability exists in the .NET runtime due to improper handling of crafted PDB line metadata. Developers and system administrators running .NET on Windows must update to the specified patched versions to mitigate the risk of remote code execution.
Who is affected
The vulnerability affects applications on Windows using .NET 8.0, 9.0, 10.0, or 11.0 when processing malicious native PDB files. Impacted components include the Microsoft.DiaSymReader.Native library and various .NET SDK distributions, potentially allowing an attacker to achieve remote code execution through memory corruption.
Exploitability
The vulnerability carries a CVSS 3.1 base score of 8.8, indicating high severity. While it currently has an EPSS score of 0.009 and is not listed in the CISA Known Exploited Vulnerabilities catalog, the vector relies on user interaction and network access to trigger the heap-based memory corruption.
Remediation
- Update .NET runtime and SDK installations to the patched versions: 8.0.34, 9.0.23, 10.0.15, or 11.0.0.
- For self-contained applications, update the .NET runtime used for the build, rebuild the application, and redeploy.
- Update Visual Studio if the affected SDK was installed as part of the IDE distribution.
- Restart all processes that have loaded the Microsoft.DiaSymReader.Native component after applying updates.
How to check your project
- Check current .NET runtime versions by running 'dotnet --list-runtimes' in the command line.
- Inspect project files and lock files for references to Microsoft.DiaSymReader.Native versions earlier than 18.9.1-beta1.26515.1.
- Review installed SDK versions via 'dotnet --list-sdks' and compare against the provided patched version table.
Automated analysis of the published advisory data, generated 2026-11-18. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| NuGet | Microsoft.NETCore.App.Runtime.win-arm64 |
>= 8.0.0, < 8.0.34 | 8.0.34 | dotnet add package Microsoft.NETCore.App.Runtime.win-arm64 --version 8.0.34 |
| NuGet | Microsoft.NETCore.App.Runtime.win-arm64 |
>= 9.0.0, < 9.0.23 | 9.0.23 | dotnet add package Microsoft.NETCore.App.Runtime.win-arm64 --version 9.0.23 |
| NuGet | Microsoft.NETCore.App.Runtime.win-arm64 |
>= 10.0.0, < 10.0.15 | 10.0.15 | dotnet add package Microsoft.NETCore.App.Runtime.win-arm64 --version 10.0.15 |
| NuGet | Microsoft.NETCore.App.Runtime.win-arm64 |
>= 11.0.0-preview.1, < 11.0.0 | 11.0.0 | dotnet add package Microsoft.NETCore.App.Runtime.win-arm64 --version 11.0.0 |
| NuGet | Microsoft.NETCore.App.Runtime.win-x64 |
>= 8.0.0, < 8.0.34 | 8.0.34 | dotnet add package Microsoft.NETCore.App.Runtime.win-x64 --version 8.0.34 |
| NuGet | Microsoft.NETCore.App.Runtime.win-x64 |
>= 9.0.0, < 9.0.23 | 9.0.23 | dotnet add package Microsoft.NETCore.App.Runtime.win-x64 --version 9.0.23 |
| NuGet | Microsoft.NETCore.App.Runtime.win-x64 |
>= 10.0.0, < 10.0.15 | 10.0.15 | dotnet add package Microsoft.NETCore.App.Runtime.win-x64 --version 10.0.15 |
| NuGet | Microsoft.NETCore.App.Runtime.win-x64 |
>= 11.0.0-preview.1, < 11.0.0 | 11.0.0 | dotnet add package Microsoft.NETCore.App.Runtime.win-x64 --version 11.0.0 |
| NuGet | Microsoft.NETCore.App.Runtime.win-x86 |
>= 8.0.0, < 8.0.34 | 8.0.34 | dotnet add package Microsoft.NETCore.App.Runtime.win-x86 --version 8.0.34 |
| NuGet | Microsoft.NETCore.App.Runtime.win-x86 |
>= 9.0.0, < 9.0.23 | 9.0.23 | dotnet add package Microsoft.NETCore.App.Runtime.win-x86 --version 9.0.23 |
| NuGet | Microsoft.NETCore.App.Runtime.win-x86 |
>= 10.0.0, < 10.0.15 | 10.0.15 | dotnet add package Microsoft.NETCore.App.Runtime.win-x86 --version 10.0.15 |
| NuGet | Microsoft.NETCore.App.Runtime.win-x86 |
>= 11.0.0-preview.1, < 11.0.0 | 11.0.0 | dotnet add package Microsoft.NETCore.App.Runtime.win-x86 --version 11.0.0 |
CVSS 3.1 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C
| Attack vector | Network |
|---|---|
| Attack complexity | Low |
| Privileges required | None |
| User interaction | Required |
| Scope | Unchanged |
| Confidentiality | High |
| Integrity | High |
| Availability | High |
FAQ
How does this vulnerability manifest?
It is triggered when the affected software parses crafted PDB line metadata, causing a heap out-of-bounds write that can lead to remote code execution.
Does updating the machine-wide .NET runtime secure self-contained applications?
No. Self-contained applications bundle their own runtime; you must update the runtime version used to build the application and then rebuild and redeploy the app.
Is this vulnerability being actively exploited?
There is currently no evidence of active exploitation documented in the CISA Known Exploited Vulnerabilities catalog.
Original advisory description
References
- WEB https://github.com/dotnet/runtime/security/advisories/GHSA-x8x8-p968-x646
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-118745
- WEB https://github.com/dotnet/announcements/issues/498
- WEB https://github.com/dotnet/announcements/issues/524
- WEB https://github.com/dotnet/runtime/issues/137280
- WEB https://github.com/dotnet/core/blob/main/release-notes/10.0/10.0.15/10.0.15.md
- WEB https://github.com/dotnet/core/blob/main/release-notes/11.0/11.0.0/11.0.0.md
- WEB https://github.com/dotnet/core/blob/main/release-notes/8.0/8.0.34/8.0.34.md
- WEB https://github.com/dotnet/core/blob/main/release-notes/9.0/9.0.23/9.0.23.md
- PACKAGE https://github.com/dotnet/runtime
- WEB https://github.com/dotnet/runtime/releases/tag/v10.0.15
- WEB https://github.com/dotnet/runtime/releases/tag/v11.0.0
- WEB https://github.com/dotnet/runtime/releases/tag/v8.0.34
- WEB https://github.com/dotnet/runtime/releases/tag/v9.0.23
- WEB https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-118745
Source records: GHSA-x8x8-p968-x646 (OSV.dev) · EPSS by FIRST, 2026-11-21.