5.4

CVE-2026-54522: MessagePack::Buffer#clear Use-After-Free that Enables Cross-Buffer Disclosure

Analyzed
AliasesUBUNTU-CVE-2026-54522DEBIAN-CVE-2026-54522CGA-34r5-w5px-fq23
Published 30-07-2026Last modified 30-07-2026

Vulnerability summary

CVE-2026-54522 is a medium (CVSS 5.4) Use After Free vulnerability in msgpack messagepack. EPSS estimates a 0.23% chance of exploitation in the next 30 days, higher than 13.4% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Routine

Not severe (CVSS 2.1, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.4/10
010
Medium · v3.1 (NVD)
EPSS score
0.23%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 0 · Related 1

Timeline

  1. 30-07-2026
    PublishedVulnerability first disclosed.
  2. 30-07-2026
    Last modifiedVulnerability information updated.

Description

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 metrics

9 scores · 7 sources · 2 versions

EPSS trend

Probability

0.23%

Chance of exploitation in the next 30 days

Percentile

13%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.23% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Msgpack Ruby

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard30 products
  • commercial-gitlab-rails-ee-19.1All versions (No fix recorded)
  • commercial-gitlab-rails-ee-19.2< 19.2.7-r4
  • commercial-gitlab-rails-ee-fips-19.1All versions (No fix recorded)
  • commercial-gitlab-rails-ee-fips-19.2< 19.2.7-r4
  • gitlab-rails-ce-18.1All versions (No fix recorded)
Wolfi3 products
  • ruby3.2-fluentd-kubernetes-daemonset-1.19-kinesis< 1.19.2.1.1-r7
  • ruby3.2-kube-logging-operator-fluentd-outputs< 6.8.0-r0
  • ruby3.4-kube-logging-operator-fluentd-outputs< 6.8.0-r0
Msgpack2 products
Debian1 product
  • ruby-msgpackAll versions (No fix recorded) | < 1.8.3-1
RubyGems1 product
  • msgpack< 1.8.2
Ubuntu1 product
  • ruby-msgpackAll versions (No fix recorded)

6 vendors · 38 products

References

10 links