{"id":"CVE-2026-107300","aliases":["CVE-2026-107300","GHSA-5x5g-h9x8-2fh9"],"related":[],"kind":"vulnerability","state":"published","title":"msgpack5: Many buffered values can exhaust the streaming decoder stack","summary":"msgpack5 is a msgpack v5 implementation for node.js and the browser. Prior to 6.1.0, the streaming decoder recursively invokes itself for each complete MessagePack value remaining in a chunk. A remote peer can send one chunk containing many small valid values, causing recursion proportional to the value count, exhausting the JavaScript call stack, and interrupting the process or stream. This issue is fixed in version 6.1.0.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"msgpack5 is a msgpack v5 implementation for node.js and the browser. Prior to 6.1.0, the streaming decoder recursively invokes itself for each complete MessagePack value remaining in a chunk. A remote peer can send one chunk containing many small valid values, causing recursion proportional to the value count, exhausting the JavaScript call stack, and interrupting the process or stream. This issue is fixed in version 6.1.0.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nThe streaming decoder recursively invokes itself for every complete value remaining in a chunk. A single chunk containing many small valid MessagePack values can exhaust the JavaScript call stack and interrupt the process or stream.\n\n### Patches\n\nThe streaming decoder now drains concatenated values iteratively with constant call-stack depth.\n\n### Workarounds\n\nLimit the number of MessagePack values accepted in one chunk, or split large batches before passing them to the decoder stream.","format":"markdown","source":"ghsa"}],"published":"2026-10-08T17:11:13.552Z","modified":"2026-10-08T20:48:36.970Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-674"],"affected":[{"ranges":[{"version":"< 6.1.0","status":"affected"}],"vendor":"mcollina","product":"msgpack5","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"6.1.0"}],"ecosystem":"npm","package":"msgpack5","purl":"pkg:npm/msgpack5","source":"ghsa"}],"references":[{"url":"https://github.com/mcollina/msgpack5/security/advisories/GHSA-5x5g-h9x8-2fh9","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/mcollina/msgpack5/commit/77fbef144d05def5d16fc22c37caa64c0a7efeba","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/mcollina/msgpack5/releases/tag/v6.1.0","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/mcollina/msgpack5","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-10-08T17:52:32.790Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-107300","url":"https://www.cve.org/CVERecord?id=CVE-2026-107300","licence":"CVE Terms of Use","modified":"2026-10-08T17:52:48.010Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-5x5g-h9x8-2fh9","url":"https://github.com/advisories/GHSA-5x5g-h9x8-2fh9","licence":"CC-BY-4.0","modified":"2026-10-08T18:00:08.893Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-107300","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-107300","licence":"Public domain","modified":"2026-10-08T20:48:36.970Z"}],"updatedAt":"2026-11-25T22:59:43.191Z","epss":{"score":0.00426,"percentile":0.3882,"date":"2026-12-01T12:00:22.000Z"}}