Vulnerability in MessagePack for Ruby Affects Java-platform Gem for JRuby
CVE-2026-126366

7.5HIGH

Key Information:

Vendor

Msgpack

Vendor
CVE Published:
12 November 2026

What is CVE-2026-126366?

The MessagePack for Ruby library before version 1.8.7 contains a vulnerability that allows an attacker to trigger large memory allocations or heap exhaustion through untrusted input. This issue arises when the Java-platform msgpack gem for JRuby allocates arrays and byte buffers based on attacker-controlled sizes without confirming the availability of the necessary elements or bytes. A specially crafted MessagePack header can lead to significant heap growth, exhausting the shared JVM heap during the unpacking process. This vulnerability has been addressed in version 1.8.7, and users are encouraged to upgrade to mitigate potential risks.

Affected Version(s)

msgpack-ruby < 1.8.7

References

CVSS V3.1

Score:
7.5
Severity:
HIGH
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.