{"id":"CVE-2026-107298","published":"2026-10-08T17:08:22Z","modified":"2026-10-09T11:39:42Z","title":"msgpack5: Deeply nested input can exhaust the 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 array and map decoding paths have no nesting-depth limit, allowing an attacker who can provide MessagePack input to submit deeply nested containers that exhaust the JavaScript call stack and interrupt a process, worker, or request handler. This issue is fixed in version 6.1.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00507,"percentile":0.36404,"provenance":"source"},"cwes":[{"id":"CWE-674","name":"Uncontrolled Recursion"}],"references":[{"url":"https://github.com/mcollina/msgpack5/security/advisories/GHSA-24ch-f2g6-9hhh","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/mcollina/msgpack5/commit/1e2b5874e555dd7c99417f64788a03b0590bb102","tags":["x_refsource_MISC"]},{"url":"https://github.com/mcollina/msgpack5/releases/tag/v6.1.0","tags":["x_refsource_MISC"]}],"priority":{"score":11.0,"factors":[{"name":"EPSS percentile","points":7.28},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"mcollina","affectedVersions":[{"vendor":"mcollina","product":"msgpack5","versions":["< 6.1.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-10-09T11:39:21.902387Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"msgpack5","vulnerableRanges":["<6.1.0"],"patched":["6.1.0"],"from":["GHSA-24ch-f2g6-9hhh"],"provenance":"source"}],"summary":{"text":"The msgpack5 library, a MessagePack v5 implementation for Node.js and the browser, has an unbounded nesting depth in its array and map decoding paths, so input is not checked for how deeply containers are nested. An attacker who can supply MessagePack input over the network, without authentication or user interaction, can send deeply nested containers that exhaust the JavaScript call stack and interrupt the process, worker, or request handler that decodes them.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:05:22Z"},"euvd":{"id":"EUVD-2026-95109","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-mcollina-msgpack5-cve-2021-21368","parents":[{"from":"CVE-2021-21368","to":"CVE-2026-107298","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["index.js","lib/decoder.js"],"commits":["https://github.com/mcollina/msgpack5/commit/d4e6cb956ae51c8bb2828e71c7c1107c340cf1e8","https://github.com/mcollina/msgpack5/commit/1e2b5874e555dd7c99417f64788a03b0590bb102"],"basis":"shared function","functions":["buildDecode","msgpack"]}]},{"from":"CVE-2026-107297","to":"CVE-2026-107298","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/decoder.js"],"commits":["https://github.com/mcollina/msgpack5/commit/e4827641d3105e295cbbd56e9c5389978547eab4","https://github.com/mcollina/msgpack5/commit/1e2b5874e555dd7c99417f64788a03b0590bb102"],"basis":"shared function","functions":["buildDecode","decodeMap"]}]}],"children":[{"from":"CVE-2026-107298","to":"CVE-2026-107299","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/decoder.js"],"commits":["https://github.com/mcollina/msgpack5/commit/1e2b5874e555dd7c99417f64788a03b0590bb102","https://github.com/mcollina/msgpack5/commit/85da345bf1acc18ca441741e5cf4aa0ed0d69314"],"basis":"shared function","functions":["tryDecode"]}]},{"from":"CVE-2026-107298","to":"CVE-2026-107301","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["index.js"],"commits":["https://github.com/mcollina/msgpack5/commit/1e2b5874e555dd7c99417f64788a03b0590bb102","https://github.com/mcollina/msgpack5/commit/20e82600ac9462e679c8a45e5723315f21e2c774"],"basis":"shared function","functions":["msgpack"]}]}]}}