Vulnerability
CVE-2026-54522
MessagePack for Ruby is an implementation of the MessagePack binary serialization format. Prior to 1.8.2, MessagePack::Buffer#clear in ext/msgpack/buffer.c leaves rmem_last, rmem_end, and rmem_owner stale after _msgpack_buffer_shift_chunk returns an rmem page to the shared pool, allowing a subsequent Buffer#write and a second MessagePack::Buffer to alias the page and disclose or corrupt cross-buffer data. This issue is fixed in version 1.8.2.
68 advisories report this vulnerability, across 7 ecosystems.
Advisories
-
AZL-109539
CVE-2026-54522 affecting package python-msgpack 1.0.5-3
-
AZL-94449
CVE-2026-54522 affecting package rubygem-msgpack for versions less than 1.8.4-1
- CGA-24mw-93cp-87m7
- CGA-2m8m-g7hq-p6ff
- CGA-34r5-w5px-fq23
- CGA-4wm2-r7hq-qw3g
- CGA-4xv2-gpm6-x3w4
- CGA-5hpw-r9h6-mgw5
- CGA-633h-4v6r-m7fw
- CGA-75fh-c749-2xvm
- CGA-7prj-5552-gh52
- CGA-7q5q-9326-whq8
- CGA-7qgr-336m-v86j
- CGA-7v6g-rf55-f2pg
- CGA-8hpf-grgf-m7hv
- CGA-8rxp-gjp3-758f
- CGA-926c-gfvj-3rrh
- CGA-9c8p-mp4j-chw6
- CGA-9fpf-7fx5-6pq8
- CGA-9m2g-9p79-6cwx
- CGA-9mgf-g985-gw7j
- CGA-9prw-2vqc-5c8g
- CGA-9wjh-jfgv-9pg6
- CGA-c572-c3fh-8xmp
- CGA-cx69-mq4v-4vfw
- CGA-f363-h73g-v2gf
- CGA-fg3f-783f-5p7r
- CGA-g455-6h37-9gvj
- CGA-g83p-x788-8w5x
- CGA-gv25-ppgr-qcm7
- CGA-gv2c-68q2-hv28
- CGA-h2h5-xrwc-v6x6
- CGA-j327-xxj5-22hh
- CGA-j4wg-8c67-9h3r
- CGA-j55f-xmqp-h8r7
- CGA-m3xg-m924-qp72
- CGA-m75p-6234-36q6
- CGA-m83v-mv3q-3gpr
- CGA-mgrf-qqhw-78hw
- CGA-mx7v-gh3j-5wf8
- CGA-p79x-88q6-4p98
- CGA-p865-85p8-m7x8
- CGA-pg6m-5967-786c
- CGA-pgqh-33fv-6qc6
- CGA-ph58-5jm8-8g4q
- CGA-ppqw-57pg-8rvr
- CGA-pv8m-4m99-44cx
- CGA-pw68-2c6h-j3gv
- CGA-qw98-rv37-mhjm
- CGA-r7ff-pxgg-97g9
- CGA-r9hc-9hhh-55xp
- CGA-rg63-4r7v-wxxp
- CGA-rw25-4hh6-7qj7
- CGA-v27f-88fh-g5qw
- CGA-w28x-75g8-qfgv
- CGA-w478-g96m-v6pg
- CGA-w7vf-qc93-r4w5
- CGA-x4pf-6jmr-99mq
- CGA-x795-fj8m-4hrv
- CGA-xf4p-866w-j2qp
- CGA-xfm2-w6h9-37xh
- CGA-xw5g-x3w2-wcw4
-
DEBIAN-CVE-2026-54522
MessagePack for Ruby is an implementation of the MessagePack binary serialization format. Prior to 1.8.2, MessagePack::Buffer#clear in ext/msgpack/buffer.c leaves rmem_last, rmem_end, and rmem_owner stale after…
-
GHSA-4mrv-5p47-p938
MessagePack::Buffer#clear Use-After-Free that Enables Cross-Buffer Disclosure
-
OESA-2026-3219
rubygem-msgpack security update
-
OESA-2026-3220
rubygem-msgpack security update
-
OESA-2026-3221
rubygem-msgpack security update
-
UBUNTU-CVE-2026-54522
MessagePack for Ruby is an implementation of the MessagePack binary serialization format. Prior to 1.8.2, MessagePack::Buffer#clear in ext/msgpack/buffer.c leaves rmem_last, rmem_end, and rmem_owner stale after…