Medium severity5.4NVD Advisory· Published Jul 30, 2026· Updated Aug 5, 2026
CVE-2026-54522
CVE-2026-54522
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
msgpackRubyGems | < 1.8.2 | 1.8.2 |
Affected products
8- Range: <1.8.2
- osv-coords6 versionspkg:apk/chainguard/ruby3.2-fluentd-kubernetes-daemonset-1.19-kinesispkg:apk/chainguard/ruby3.2-kube-logging-operator-fluentd-outputspkg:apk/chainguard/ruby3.4-kube-logging-operator-fluentd-outputspkg:apk/wolfi/ruby3.2-fluentd-kubernetes-daemonset-1.19-kinesispkg:apk/wolfi/ruby3.2-kube-logging-operator-fluentd-outputspkg:apk/wolfi/ruby3.4-kube-logging-operator-fluentd-outputs
< 1.19.2.1.1-r7+ 5 more
- (no CPE)range: < 1.19.2.1.1-r7
- (no CPE)range: < 6.8.0-r0
- (no CPE)range: < 6.8.0-r0
- (no CPE)range: < 1.19.2.1.1-r7
- (no CPE)range: < 6.8.0-r0
- (no CPE)range: < 6.8.0-r0
Patches
Vulnerability mechanics
References
5- github.com/msgpack/msgpack-ruby/commit/5627d71606b565641d2dd501b82aae862f4abe90nvdPatchWEB
- github.com/msgpack/msgpack-ruby/security/advisories/GHSA-4mrv-5p47-p938nvdExploitVendor AdvisoryWEB
- github.com/advisories/GHSA-4mrv-5p47-p938ghsaADVISORY
- github.com/rubysec/ruby-advisory-db/blob/master/gems/msgpack/CVE-2026-54522.ymlghsaWEB
- www.cve.org/CVERecord/SearchResultsghsaWEB
News mentions
0No linked articles in our index yet.