CVE-2026-126366
HIGH 7.5CVSS 3.1msgpack-ruby JRuby decoder makes uncapped header-count allocations; a 5-byte message forces multi-GiB OOM
MessagePack for Ruby is an implementation of the MessagePack binary serialization format. Prior to 1.8.7, the Java-platform msgpack gem for JRuby allocated arrays and byte buffers directly from attacker-controlled array32, str32, and bin32 declared sizes before confirming that corresponding elements or bytes were available. A short MessagePack header could therefore trigger a very large allocation or sustained heap growth when an application decoded untrusted input through MessagePack.unpack or MessagePack::Unpacker, potentially exhausting the shared JVM heap. map32 and declared counts at or above 2^31 did not use the affected allocation behavior. This issue is fixed in version 1.8.7.
- Published
- 13 Nov 2026
- Last modified
- 13 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Received
- Weakness
- CWE-1325CWE-770
- Also known as
- GHSA-73v3-wf97-vpgj
- Sources
- NVDJSONOSV GHSA-73v3-wf97-vpgjJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | RubyGems | msgpack | < 1.8.7 | 1.8.7 |
References
- https://github.com/msgpack/msgpack-ruby/commit/ca0efc1256c687b428c46dd68ce000ff515d53f2 · WEB
- https://github.com/msgpack/msgpack-ruby/releases/tag/v1.8.6 · WEB
- https://github.com/msgpack/msgpack-ruby/releases/tag/v1.8.7 · WEB
- https://github.com/msgpack/msgpack-ruby/security/advisories/GHSA-73v3-wf97-vpgj · WEB
- https://github.com/msgpack/msgpack-ruby · PACKAGE
History
- 25 Nov 2026 21:23 UTC · NVD: first stored (published 13 Nov 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 12 Nov 2026)