Home / msgpack / msgpack-ruby / CVE-2026-126366
CVE-2026-126366: is it exploited, and which versions of msgpack-ruby are affected and fixed?
CVE-2026-126366 is a denial of service (resources allocated without limits) vulnerability in msgpack-ruby. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:38 UTC). Affected: msgpack before 1.8.7 (GitHub advisory GHSA-73v3-wf97-vpgj). Fixed in 1.8.7 (GitHub advisory GHSA-73v3-wf97-vpgj). Severity: High (7.5, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:38 UTC, CVE record November 19, 2026, 07:04 UTC and NVD November 19, 2026, 07:04 UTC.
What is CVE-2026-126366?
msgpack-java JRuby decoder allocates from declared header counts with no cap: 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.
From the CVE record by GitHub_M, last updated November 13, 2026, 22:32 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| msgpack | msgpack-ruby | < 1.8.7 |
As the CVE record by GitHub_M states it, last updated November 13, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| RubyGems | msgpack | < 1.8.7 | 1.8.7 | GHSA-73v3-wf97-vpgj |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated November 12, 2026. Summary: msgpack-ruby JRuby decoder makes uncapped header-count allocations; a 5-byte message forces multi-GiB OOM.
How severe is CVE-2026-126366?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-126366 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, November 13, 2026)
- EPSS
- 0.55% probability of exploitation activity in the next 30 days, percentile 47.4 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-770 Allocation of Resources Without Limits or Throttling
- CWE-1325 Improperly Controlled Sequential Memory Allocation
Where are the vendor advisories and references?
- https://github.com/msgpack/msgpack-ruby/security/advisories/GHSA-73v3-wf97-vpgj x_refsource_CONFIRM
- https://github.com/msgpack/msgpack-ruby/commit/ca0efc1256c687b428c46dd68ce000ff515d53f2 x_refsource_MISC
- https://github.com/msgpack/msgpack-ruby/releases/tag/v1.8.6 x_refsource_MISC
- https://github.com/msgpack/msgpack-ruby/releases/tag/v1.8.7 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- November 10, 2026
- Published
- November 12, 2026, 22:41 UTC
- CVE record updated
- November 13, 2026, 22:32 UTC by GitHub_M
- NVD
- Received, last modified November 13, 2026, 23:17 UTC
- Last checked
- CVE list November 19, 2026, 07:04 UTC; NVD November 19, 2026, 07:04 UTC; KEV December 3, 2026, 10:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect msgpack-ruby?
- Jul 30, 2026CVE-2026-54522 msgpack-ruby: use after free
Questions about CVE-2026-126366
Is CVE-2026-126366 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:38 UTC. FIRST's EPSS gives it a 0.55% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of msgpack-ruby are affected by CVE-2026-126366?
msgpack before 1.8.7, per the GitHub advisory GHSA-73v3-wf97-vpgj. The tables above give every range the sources list.
Which version fixes CVE-2026-126366?
1.8.7, per the GitHub advisory GHSA-73v3-wf97-vpgj. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-126366?
High (7.5, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-126366?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.