Intel

AIKIDO-2026-233096

MessagePack is vulnerable to Denial of Service (DoS)

CVE-2026-92707Published Sep 22, 2026
September 22, 2026

53

CVE Score

Medium

Denial of Service (DoS)

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.

How do I fix this?

Upgrade the MessagePack 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 deserialize untrusted MessagePack data into System.Object or another type resolved by PrimitiveObjectFormatter.

Versions

0.0.1 - 2.5.302

Fixed in 2.5.303

3.0.0 - 3.1.8

Fixed in 3.1.9

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.

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