VDB

CVE-2026-54522

CVE-2026-54522 PUBLISHED CVSS 2.1 LOW

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

Reported by github_m · Published July 30, 2026

msgpack is fixed in 1.8.2 (RubyGems)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
msgpackRubyGems1.8.2
commercial-gitlab-rails-ee-fips-19.2Chainguard19.2.7-r4
kube-logging-operatorWolfi6.8.0-r0
ruby3.2-fluentd-kubernetes-daemonset-1.19Chainguard1.19.2.1.1-r7
ruby3.2-fluentd-kubernetes-daemonset-1.19Wolfi1.19.2.1.1-r7
messagepackmsgpack1.8.2

Risk scores

CVSS 4.0
2.1
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Affected products

VendorProductVersions
msgpackmsgpack-ruby< 1.8.2
chainguardcommercial-gitlab-rails-ee-fips-19.20
wolfikube-logging-operator0
RubyGemsmsgpack0
chainguardruby3.2-fluentd-kubernetes-daemonset-1.190
wolfiruby3.2-fluentd-kubernetes-daemonset-1.190
msgpackmsgpack-ruby0
chainguardcommercial-gitlab-rails-ee-19.20
chainguardkube-logging-operator0

Timeline

  • Jul 30, 2026 CVE Published
  • Jul 30, 2026 Coalition ESS Score
  • Jul 30, 2026 CVE Updated
  • Aug 7, 2026 EPSS Score (16 in total, the first dated here)
  • Aug 12, 2026 Security Advisory

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-54522
vulnetix vdb fixes CVE-2026-54522

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-54522/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›