CVE-2026-126366

MessagePack for Ruby is an implementation of the MessagePack binary serialization format. Prior to 1.8.7, the Java-platform msgpack gem for JRuby allocated arrays and byte buffers directly from attacker-controlled array32, str32, and bin32 declared sizes before confirming that corresponding elements or bytes were available. A short MessagePack header could therefore trigger a very large allocation or sustained heap growth when an application decoded untrusted input through MessagePack.unpack or MessagePack::Unpacker, potentially exhausting the shared JVM heap. map32 and declared counts at or above 2^31 did not use the affected allocation behavior. This issue is fixed in version 1.8.7.
Configurations

No configuration.

History

13 Nov 2026, 00:20

Type Values Removed Values Added
New CVE

Information

Published : 2026-11-13 00:20

Updated : 2026-11-13 23:17


NVD link : CVE-2026-126366

Mitre link : CVE-2026-126366

CVE.ORG link : CVE-2026-126366


JSON object : View

Products Affected

No product.

CWE
CWE-770

Allocation of Resources Without Limits or Throttling

CWE-1325

Improperly Controlled Sequential Memory Allocation