Skip to main content
CVE-2026-126366VulnerabilityPublished

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

Affects msgpackSource GCVE Database

0
Compare
Authoritative record:CVE-2026-126366· High 7.5

Not known to be exploited · CVSS 7.5 High : upgrade to 1.8.7 soon.

Data as of 12 Nov 2026, 23:20 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.17.5
Patch
Available – fixed in 1.8.7
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 12 Nov 2026.

What to do

Upgrade msgpack to 1.8.7.

Affected software

ProductAffectedFixed in
RubyGemsmsgpackAffected
  • <1.8.7
Fixed in
  • 1.8.7

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A patch is available in msgpack version 1.8.7 which caps initial memory allocations based on buffered bytes and grows allocations incrementally as data arrives, preventing unbounded memory usage. Users should upgrade to msgpack 1.8.7 or later to remediate this issue. No other mitigations are indicated or necessary once patched.

Description

The JRuby implementation of the msgpack Ruby gem (java platform) has a vulnerability where it allocates memory based on container element counts declared in message headers without any upper limit. This can cause the JVM to attempt very large memory allocations, leading to OutOfMemoryError exceptions or significant silent memory retention. The flaw affects msgpack versions prior to 1.8.7 and is unfixed in version 1.8.6. The vulnerability allows a crafted 5-byte message to trigger multi-gigabyte memory allocations, potentially causing denial of service due to memory exhaustion.

References

Community reviews

Loading reviews…