Patch Ticker
EnglishEN
Elevated

msgpack-ruby on JRuby allocates unbounded memory from tiny messages

CVE-2026-126366

A JRuby message-reading library can be stalled by one tiny message.

CVE
CVE-2026-126366 (opens in a new tab)
Score
CVSS 7.5
First seen
7.5
Products

Mitigation

Update msgpack-ruby to 1.8.7 or later.

Summary

The java platform msgpack-ruby gem for JRuby allocates memory based on the size declared in a message header. A single small crafted message can exhaust the JVM heap and stall the application, and versions up to 1.8.6 are affected.

Affected when

  • msgpack gem for JRuby (java platform)
  • untrusted input decoded with MessagePack.unpack or MessagePack::Unpacker

Incidents by product: msgpack-ruby

All Incidents of 2026-11-13

Read the advisory · github.com (opens in a new tab)