Intel

AIKIDO-2026-999304

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

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Oct 16, 2026
October 16, 2026

44

CVE Score

Medium

Out-of-Bounds Read

Are you affected? Scan for Free

TL;DR

DynamicTraceEventParser reads a counted string or array length with GetInt32At or GetInt16At. OffsetOfNextField adds that signed length to the field offset without comparing it to the bytes left in the event, and a fixed-count array is copied with GetByteArrayAt when the payload is shorter than the array. A manifest, TraceLogging, or EventPipe event can read past the event buffer into adjacent native memory, which returns those bytes to the caller or crashes the parser. The fix keeps the length unsigned and rejects a count larger than the remaining payload in OffsetOfNextField and GetCountForArray, including fixed-count arrays, before the copy.

How do I fix this?

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

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you parse ETW traces or sessions containing dynamically typed or manifest-based events from untrusted sources.

Versions

2.0.2 - 3.2.6

Fixed in 3.2.8

Background info

Microsoft.Diagnostics.Tracing.TraceEvent is vulnerable to Out-of-Bounds Read in versions 2.0.2 - 3.2.6.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea