Intel

AIKIDO-2026-601590

Microsoft.Diagnostics.Tracing.TraceEvent is vulnerable to Denial of Service (DoS)

Denial of Service (DoS) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Yesterday

55

Medium Risk

This Affects:

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

TL;DR

The EventPipe trace parser reads a 32-bit object type length from the input stream and passes it to a stack allocation. The value is only validated against an upper bound, so a negative length bypasses the check and is treated as an enormous allocation size. Parsing crafted or malformed .nettrace data then triggers an uncatchable StackOverflowException that terminates the process. The fix rejects negative and oversized lengths before allocating.

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 read untrusted or externally supplied EventPipe (.nettrace) trace data.

Background info

Microsoft.Diagnostics.Tracing.TraceEvent is vulnerable to Denial of Service (DoS) in versions 3.1.21 - 3.2.5.

How to fix this

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