{"id":"CVE-2026-107300","published":"2026-10-08T17:11:13Z","modified":"2026-10-08T17:52:48Z","title":"msgpack5: Many buffered values can exhaust the streaming decoder stack","vendor":"mcollina","product":"msgpack5","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00609,"percentile":0.43318,"provenance":"source"},"cwes":[{"id":"CWE-674","name":"Uncontrolled Recursion"}],"references":[{"url":"https://github.com/mcollina/msgpack5/security/advisories/GHSA-5x5g-h9x8-2fh9","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/mcollina/msgpack5/commit/77fbef144d05def5d16fc22c37caa64c0a7efeba","tags":["x_refsource_MISC"]},{"url":"https://github.com/mcollina/msgpack5/releases/tag/v6.1.0","tags":["x_refsource_MISC"]}],"priority":{"score":13.9,"factors":[{"name":"EPSS percentile","points":8.66},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"mcollina","affectedVersions":[{"vendor":"mcollina","product":"msgpack5","versions":["< 6.1.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-10-08T17:52:32.790652Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"msgpack5","vulnerableRanges":["<6.1.0"],"patched":["6.1.0"],"from":["GHSA-5x5g-h9x8-2fh9"],"provenance":"source"}],"summary":{"text":"The msgpack5 library (mcollina's msgpack v5 implementation for Node.js and the browser) has a flaw in its streaming decoder, which recursively calls itself once for each complete MessagePack value left in a chunk, so a single chunk holding many small valid values drives recursion depth up with the value count. A remote peer able to send data to an application using the streaming decoder, without authentication or user interaction, can exhaust the JavaScript call stack with one crafted chunk, interrupting the process or stream.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:45:41Z"},"euvd":{"id":"EUVD-2026-95111","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-mcollina-msgpack5-cve-2021-21368","parents":[{"from":"CVE-2026-107297","to":"CVE-2026-107300","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/streams.js"],"commits":["https://github.com/mcollina/msgpack5/commit/e4827641d3105e295cbbd56e9c5389978547eab4","https://github.com/mcollina/msgpack5/commit/77fbef144d05def5d16fc22c37caa64c0a7efeba"],"basis":"rarely changed file"}]},{"from":"CVE-2026-107299","to":"CVE-2026-107300","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/streams.js"],"commits":["https://github.com/mcollina/msgpack5/commit/85da345bf1acc18ca441741e5cf4aa0ed0d69314","https://github.com/mcollina/msgpack5/commit/77fbef144d05def5d16fc22c37caa64c0a7efeba"],"basis":"rarely changed file"}]}]}}