Intel

AIKIDO-2026-233096

MessagePack is vulnerable to Denial of Service (DoS)

Denial of Service (DoS)CVE-2026-92707 Published 3 days ago

53

Medium Risk

This Affects:

DOTNETMessagePack
0.0.1 - 2.5.302
Fixed in 2.5.303
3.0.0 - 3.1.8
Fixed in 3.1.9
Are you affected? Scan for Free

TL;DR

PrimitiveObjectFormatter allocates an object[] sized to the declared array length before the configured maximum object-graph depth is enforced, when deserializing untrusted MessagePack data into System.Object. Because nested array headers can reuse the same trailing byte count for length validation, a roughly 31.5 KiB payload can trigger about 114.7 MiB of managed-heap allocation, an amplification of about 3,800x, before the depth check finally rejects it. Repeated requests cause severe memory pressure, excessive garbage collection, and process termination or loss of availability, reachable remotely for example through an ASP.NET Core SignalR hub method that accepts an object parameter with the MessagePack protocol enabled. The fix enforces the depth limit before allocating the declared array length.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you deserialize untrusted MessagePack data into System.Object or another type resolved by PrimitiveObjectFormatter.

Background info

MessagePack is vulnerable to Denial of Service (DoS) in versions 0.0.1 - 2.5.302 and 3.0.0 - 3.1.8.

How to fix this

Upgrade the MessagePack library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform