{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-126366","id":"CVE-2026-126366","title":"msgpack-ruby denial of service in JRuby MessagePack decoding","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","descriptionLong":"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":"2026-11-12T22:41:38.409Z","updated":"2026-11-15T07:04:25.966336812Z","reserved":"2026-11-10T21:12:01.228Z","status":"Received","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"github.com"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":["msgpack-ruby"],"affectedProducts":[{"vendor":"msgpack","product":"msgpack-ruby","defaultStatus":null,"versions":[{"version":"< 1.8.7","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"RubyGems","name":"msgpack","purl":"pkg:gem/msgpack","ranges":["<1.8.7"],"fixed":["1.8.7"],"advisory":"GHSA-73v3-wf97-vpgj"}],"cwes":["CWE-770","CWE-1325"],"aliases":["GHSA-73v3-wf97-vpgj"],"references":[{"url":"https://github.com/msgpack/msgpack-ruby/security/advisories/GHSA-73v3-wf97-vpgj","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/msgpack/msgpack-ruby/commit/ca0efc1256c687b428c46dd68ce000ff515d53f2","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/msgpack/msgpack-ruby/releases/tag/v1.8.6","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/msgpack/msgpack-ruby/releases/tag/v1.8.7","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126366.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-126366","tags":["advisory"]},{"url":"https://github.com/msgpack/msgpack-ruby","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.00527,"epssPercentile":0.45331,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-126366","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-126366","ok":true,"note":"Received"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-126366","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-73v3-wf97-vpgj","ok":true,"note":"GHSA-73v3-wf97-vpgj"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-126366","ok":true,"note":"scored 2026-11-18"}],"aiTitle":true,"tech":[],"critical":[],"attention":null}