msgpack vulnerabilities

MessagePack is a binary-based efficient object serialization library. It enables to exchange structured objects between many languages like JSON. But unlike JSON, it is very fast and small.

Registry
RubyGems
Latest
1.8.7
License
Apache-2.0

2 known advisories

The latest version, 1.8.7, is not affected by any of them. Projects on older versions may be.

Update to the latest version:bundle update --conservative msgpack # Gemfile: '>= 1.8.7'

Is your project on an affected msgpack?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Rails or Ruby apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Security advisories for msgpack

  • HighCVE-2026-126366GHSA-73v3-wf97-vpgj12 Nov 2026

    msgpack-ruby JRuby decoder makes uncapped header-count allocations; a 5-byte message forces multi-GiB OOM

    Affected
    <1.8.7
    Fixed in
    1.8.7
  • LowCVE-2026-54522GHSA-4mrv-5p47-p93830 Jul 2026

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

    Affected
    <1.8.2
    Fixed in
    1.8.2

Is your msgpack version vulnerable?

Which of your client projects still run an old msgpack?

NPMscan reads the Gemfile.lock in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other RubyGems packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the RubyGems registry.