{
  "id": "CVE-2026-126366",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-126366",
  "published_at": "2026-11-12T22:41:38.409Z",
  "title": "msgpack-java JRuby decoder allocates from declared header counts with no cap: 5-byte message forces multi-GiB OOM",
  "vendor": "msgpack",
  "product": "msgpack-ruby",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.",
  "cwe": "CWE-770",
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "msgpack",
        "product": "msgpack-ruby",
        "ranges": [
          "\u003c 1.8.7"
        ],
        "fixed_in": [
          "1.8.7"
        ]
      }
    ],
    "upgrade": [
      "Upgrade msgpack-ruby to 1.8.7 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/msgpack/msgpack-ruby/security/advisories/GHSA-73v3-wf97-vpgj"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/msgpack/msgpack-ruby/commit/ca0efc1256c687b428c46dd68ce000ff515d53f2"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/msgpack/msgpack-ruby/releases/tag/v1.8.6"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/msgpack/msgpack-ruby/releases/tag/v1.8.7"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
