CVE-2026-118745

Heap-based Buffer Overflow
Affects
.NET
in
.NET
No items found.
Versions
>=6.0.0 <=6.0.48; Microsoft.DiaSymReader.Native < 18.9.1-beta1.26515.1

Patch Available.

Exclamation circle icon
Patch Available

This Vulnerability has been fixed in the Never-Ending Support (NES) version offered by HeroDevs.

Overview

.NET is a free, open-source, cross-platform framework for building modern apps and powerful cloud services. It consists of a runtime and a developer platform made up of tools, programming languages, and libraries for building many different types of applications.

A remote code execution vulnerability (CVE-2026-118745) has been identified in Microsoft.DiaSymReader.Native, the native symbol reader that the .NET shared framework carries on Windows. Microsoft describes the issue as a heap out-of-bounds write that occurs when crafted PDB line metadata exceeds the buffer a caller provided. HeroDevs investigation traced the .NET 6 exposure to the runtime's MicrosoftDiaSymReaderNativeVersion pin, which stayed below the fixed build through NES for .NET 6.0.48.

Per CWE-122: Heap-based Buffer Overflow, the weakness is a buffer overflow in which the buffer that is overwritten is allocated on the heap.

Every .NET 6 release up to and including NES for .NET 6.0.48 carries an affected version of the component. It ships in-box in the Microsoft.NETCore.App shared framework rather than as an opt-in package, and it is Windows-only, so Linux and macOS layouts do not carry it at all. Exploitation requires user interaction: something must read a crafted native PDB. Microsoft fixed the issue in its November 10, 2026 releases of .NET 8.0, 9.0, 10.0 and 11.0. Additionally, if you've deployed self-contained applications targeting any of the impacted versions, these applications are also vulnerable and must be recompiled and redeployed.

Details

Module Info

  • Product: .NET
  • Affected packages: Microsoft.DiaSymReader.Native (in-box in the Windows Microsoft.NETCore.App shared framework and its Microsoft.NETCore.App.Runtime.win-* runtime packs, not an opt-in package)
  • Affected versions:
    • >=6.0.0 <=6.0.48
    • Microsoft.DiaSymReader.Native < 18.9.1-beta1.26515.1
  • Package manager: NuGet, Windows Installer, Docker
  • GitHub repository: https://github.com/dotnet/runtime
  • Published packages: Download .NET, Microsoft.DiaSymReader.Native on NuGet
  • Fixed in: NES for .NET 6.0.49 (SDK 6.0.440)

Vulnerability Info

This High-severity vulnerability is found in the native symbol reader carried by the Microsoft.NETCore.App shared framework on Windows, in versions of Microsoft.DiaSymReader.Native before 18.9.1-beta1.26515.1.

Native (Windows) PDB files carry line metadata that maps instruction offsets back to source files and line numbers, and callers ask the reader to copy those entries into a buffer they allocate. Microsoft states that crafted line metadata can exceed that caller-provided buffer and cause a heap out-of-bounds write. The excess entries come from the file, so an attacker who supplies the PDB influences what is written past the end of the buffer. The advisory scopes exposure simply to reading crafted native PDBs, without naming a single API.

This is tracked separately from CVE-2026-69522, a line-data overflow fixed in NES for .NET 6.0.46, and releases carrying that fix remain affected by this one. CVE-2026-114151, CVE-2026-114152, CVE-2026-118745, CVE-2026-114158 and CVE-2026-114159 were reported separately and are addressed together by the single Microsoft.DiaSymReader.Native update to 18.9.1-beta1.26515.1 in NES for .NET 6.0.49.

The advisory's lower bound is open (< 18.9.1-beta1.26515.1), so the weakness is present in every .NET 6 release before NES for .NET 6.0.49 and likely earlier.

Mitigation

.NET 6 is End-of-Life and will not receive any updates to address this issue. For more information see .NET and .NET Core official support policy.

Users of the affected components should apply one of the following mitigations:

  • Upgrade affected applications to one of: .NET Runtime >=10.0.15, .NET Runtime >=11.0.0. .NET 8.0.34 and 9.0.23 are fixed but End-of-Life.
  • Leverage a commercial support partner like HeroDevs for post-EOL security support, including NES for .NET 6.0.49 or later.

Credits

Microsoft acknowledges Quac Tran in its security advisory for this vulnerability.

Vulnerability Details
Severity
Level
CVSS Assessment
Low
>=0 <4
Medium
>=4 <6
High
>=6 <8
Critical
>=8 <10
High
ID
CVE-2026-118745
PROJECT Affected
.NET
Versions Affected
>=6.0.0 <=6.0.48; Microsoft.DiaSymReader.Native < 18.9.1-beta1.26515.1
NES Versions Affected
Published date
November 11, 2026
≈ Fix date
November 11, 2026
Fixed in
Category
Heap-based Buffer Overflow
Vex Document
Download VEXHow do I use it?
Sign up for the latest vulnerability alerts fixed in
NES for .NET
Rss feed icon
Subscribe via RSS
or

By submitting the form I acknowledge receipt of our Privacy Policy.

Thanks for signing up for our Newsletter! We look forward to connecting with you.
Oops! Something went wrong while submitting the form.