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
-
AZL-114061
CVE-2026-126366 affecting package rubygem-msgpack 1.8.4-1
-
AZL-115157
CVE-2026-126366 affecting package python-msgpack 1.2.3-1
- CGA-25rw-9957-84vq
- CGA-26fx-6crv-99xr
- CGA-26pg-q82g-vcj3
- CGA-2fp9-6xhx-r735
- CGA-2gj7-xg98-934r
- CGA-2gp8-2m85-x3jc
- CGA-2hgc-7rf2-r237
- CGA-2hw9-qc37-crx6
- CGA-2wjx-6vx6-hp2g
- CGA-353r-mcpp-h3px
- CGA-3fwc-4hx2-65v5
- CGA-3jp8-j6hx-3c2p
- CGA-46j8-r3w2-j5wp
- CGA-4fff-572w-gmxh
- CGA-4j5h-x4w3-mc23
- CGA-4vj9-rxrr-rfxv
- CGA-567r-h835-xww3
- CGA-5jqq-m3xq-hc2c
- CGA-5pph-x7xg-pq94
- CGA-5prm-hj2g-mm8w
- CGA-5w85-6x97-vp4v
- CGA-5xp4-jfqc-35mq
- CGA-6cjm-rxpq-f437
- CGA-6jfg-x2vg-8327
- CGA-79g7-5g65-fg59
- CGA-7j7f-fvr8-hj66
- CGA-7m49-6rw7-cg6w
- CGA-8749-p67x-f2h8
- CGA-89mj-3wvj-pmrh
- CGA-8cfw-w7q6-297r
- CGA-8w7r-x2v2-qfvq
- CGA-954w-8w6r-763p
- CGA-c6wq-8vp4-ggwq
- CGA-cwg7-g96q-gw9q
- CGA-f328-jr45-79r2
- CGA-f6qw-5772-9m2v
- CGA-fj7w-93g4-xqh3
- CGA-fpg5-qwq6-4pvp
- CGA-fpp2-hh36-683g
- CGA-fqmc-4m49-g75g
- CGA-g2g6-vr65-xprq
- CGA-g2pp-3h6v-69gm
- CGA-g4gm-h2cv-q4pq
- CGA-gpvc-qrx8-hhp2
- CGA-h4mf-r3rc-v3pm
- CGA-h5mp-f74m-jvqm
- CGA-h98h-j6x3-35jv
- CGA-hfgq-rjw9-2grj
- CGA-jmq6-xvf9-rx97
- CGA-mc23-gm5f-6cx7
- CGA-mx8j-g49v-m49f
- CGA-q5gp-4r9j-xvxm
- CGA-q5vg-44p3-m26v
- CGA-qm95-7xpv-gjq2
- CGA-qx94-g237-fq4w
- CGA-qxm8-4r74-g3ch
- CGA-r39g-rm46-3f32
- CGA-r593-rj5v-pch2
- CGA-rm74-459m-qcrg
- CGA-rp5r-4wxw-hvrh
- CGA-vc4c-9x8g-33v5
- CGA-w3gv-m569-g9w8
- CGA-w7gc-h3jw-9874
- CGA-wgv7-582m-fj99
- CGA-wgwj-9jjq-px6j
- CGA-wh96-2527-f56q
- CGA-wq2w-6f6w-fcmr
- CGA-wq46-w2q5-ffcq
- CGA-wr77-vpjf-43fh
- CGA-x3h6-w34h-4p82
- CGA-x3hp-hmr2-hqrp
- CGA-x9qx-r9m3-8r4j
- CGA-x9r7-x4fw-5qxx
- CGA-xc92-mp7f-4f2m
- CGA-xfw3-7pv9-rf8p
- CGA-xvph-cxw5-qg8f
-
GHSA-73v3-wf97-vpgj
msgpack-ruby JRuby decoder makes uncapped header-count allocations; a 5-byte message forces multi-GiB OOM
-
UBUNTU-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…