Intel

AIKIDO-2026-845611

MessagePack is vulnerable to Denial of Service (DoS)

Denial of Service (DoS)CVE-2026-48513 Published 2 days ago

63

Medium Risk

This Affects:

DOTNETMessagePack
0.0.1 - 2.5.300
Fixed in 2.5.301
3.0.0 - 3.1.6
Fixed in 3.1.7
Are you affected? Scan for Free

TL;DR

Runtime-generated union deserializers from DynamicUnionResolver do not call MessagePackSecurity.DepthStep around recursive deserialization or reader.Skip on unknown union keys. Untrusted union payloads can bypass configured object graph depth limits and recurse until the process crashes with an uncatchable StackOverflowException. The fix emits depth-step and cleanup IL in generated union deserializers consistent with other recursive formatters.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and deserialize untrusted payloads into Union-decorated types handled by DynamicUnionResolver.

Background info

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

How to fix this

Upgrade the MessagePack library to the patch version.