Intel

AIKIDO-2026-255937

MessagePack is vulnerable to Denial of Service (DoS)

CVE-2026-48510Published Jun 15, 2026
June 15, 2026

63

CVE Score

Medium

Denial of Service (DoS)

Are you affected? Scan for Free

TL;DR

When LZ4-compressed MessagePack is decompressed, declared uncompressed lengths from the wire are used to allocate output buffers before validating that the compressed data is reasonable. A small payload can claim a very large decompressed size and force large allocations or out-of-memory failures. The fix rejects negative and excessive uncompressed lengths and caps aggregate decompressed size before allocation.

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 use LZ4 compression when deserializing untrusted MessagePack payloads.

Versions

0.0.1 - 2.5.300

Fixed in 2.5.301

3.0.0 - 3.1.6

Fixed in 3.1.7

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.

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