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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:msgpack:messagepack:*:*:*:*:*:ruby:*:*

History

23 Oct 2026, 22:10

Type Values Removed Values Added
Summary
  • (es) MessagePack para Ruby es una implementación del formato de serialización binaria MessagePack. Antes de la 1.8.2, MessagePack::Buffer#clear en ext/msgpack/buffer.c deja rmem_last, rmem_end y rmem_owner inválidos después de que _msgpack_buffer_shift_chunk devuelve una página rmem al pool compartido, permitiendo que una subsiguiente Buffer#write y un segundo MessagePack::Buffer hagan alias de la página y divulguen o corrompan datos entre búferes. Este problema está corregido en la versión 1.8.2.

05 Aug 2026, 19:41

Type Values Removed Values Added
First Time Msgpack
Msgpack messagepack
CPE cpe:2.3:a:msgpack:messagepack:*:*:*:*:*:ruby:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.4
References () https://github.com/msgpack/msgpack-ruby/commit/5627d71606b565641d2dd501b82aae862f4abe90 - () https://github.com/msgpack/msgpack-ruby/commit/5627d71606b565641d2dd501b82aae862f4abe90 - Patch
References () https://github.com/msgpack/msgpack-ruby/security/advisories/GHSA-4mrv-5p47-p938 - () https://github.com/msgpack/msgpack-ruby/security/advisories/GHSA-4mrv-5p47-p938 - Exploit, Vendor Advisory

30 Jul 2026, 19:18

Type Values Removed Values Added
References () https://github.com/msgpack/msgpack-ruby/security/advisories/GHSA-4mrv-5p47-p938 - () https://github.com/msgpack/msgpack-ruby/security/advisories/GHSA-4mrv-5p47-p938 -

30 Jul 2026, 17:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-07-30 17:16

Updated : 2026-10-23 22:10


NVD link : CVE-2026-54522

Mitre link : CVE-2026-54522

CVE.ORG link : CVE-2026-54522


JSON object : View

Products Affected

msgpack

  • messagepack
CWE
CWE-416

Use After Free