Vulnerability
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.
80 advisories report this vulnerability, across 5 ecosystems.
Advisories in Wolfi
- CGA-2fp9-6xhx-r735
- CGA-2gp8-2m85-x3jc
- CGA-353r-mcpp-h3px
- CGA-46j8-r3w2-j5wp
- CGA-5jqq-m3xq-hc2c
- CGA-7j7f-fvr8-hj66
- CGA-8w7r-x2v2-qfvq
- CGA-f328-jr45-79r2
- CGA-f6qw-5772-9m2v
- CGA-h4mf-r3rc-v3pm
- CGA-h5mp-f74m-jvqm
- CGA-hfgq-rjw9-2grj
- CGA-vc4c-9x8g-33v5
- CGA-wq2w-6f6w-fcmr
- CGA-xc92-mp7f-4f2m
- CGA-xfw3-7pv9-rf8p