Intel

AIKIDO-2026-227377

Microsoft.Diagnostics.Tracing.TraceEvent is vulnerable to Out-of-bounds Read

Out-of-bounds Read Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Yesterday

55

Medium Risk

This Affects:

DOTNETMicrosoft.Diagnostics.Tracing.TraceEvent
1.0.3 - 3.2.5
Fixed in 3.2.6
Are you affected? Scan for Free

TL;DR

The CLR trace parser reads the number of map entries for a MethodILToNativeMap event directly from the event payload without validating it against the actual payload size. A malformed or inflated entry count causes the offset accessors to read past the end of the event data. This produces out-of-bounds native memory reads and an uncatchable AccessViolationException that crashes the process. The fix validates that the payload is large enough for the declared entry count before the data is read.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application uses the library to parse untrusted or externally supplied ETW or EventPipe trace data containing CLR method events.

Background info

Microsoft.Diagnostics.Tracing.TraceEvent is vulnerable to Out-of-bounds Read in versions 1.0.3 - 3.2.5.

How to fix this

Upgrade the Microsoft.Diagnostics.Tracing.TraceEvent library to the patch version.