Intel

AIKIDO-2026-297437

MessagePack is vulnerable to Denial of Service (DoS)

Denial of Service (DoS)CVE-2026-48502 Published Today

82

High Risk

This Affects:

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

TL;DR

MessagePackReader.ReadDateTime can enter a slow path that stack-allocates a buffer sized from an attacker-controlled timestamp extension length before validating the extension body. A small malformed payload can therefore trigger an uncatchable StackOverflowException when deserializing DateTime values from untrusted input. The fix validates supported timestamp extension lengths before any stack allocation and rejects oversized headers with a normal serialization exception.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and deserialize untrusted MessagePack into schemas containing DateTime or DateTimeOffset values.

Background info

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

How to fix this

Upgrade the MessagePack library to the patch version.