Use After Free Affecting ruby-msgpack package, versions *


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
0.23% (12th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN13-RUBYMSGPACK-18476113
  • published31 Jul 2026
  • disclosed30 Jul 2026

Introduced: 30 Jul 2026

CVE-2026-54522  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

There is no fixed version for Debian:13 ruby-msgpack.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby-msgpack package and not the ruby-msgpack package as distributed by Debian. See How to fix? for Debian:13 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1