{"id":"CVE-2026-107298","aliases":["CVE-2026-107298","GHSA-24ch-f2g6-9hhh"],"related":[],"kind":"vulnerability","state":"published","title":"msgpack5: Deeply nested input can exhaust the decoder stack","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nThe decoder has no nesting-depth limit for arrays and maps. An attacker who can provide MessagePack input can use deeply nested containers to exhaust the JavaScript call stack and interrupt the process or request handler.\n\n### Patches\n\nThe decoder now limits nesting depth to 100 by default and throws `Maximum decode depth exceeded`. Applications can configure the limit with the `maxDepth` option.\n\n### Workarounds\n\nReject deeply nested input before decoding, isolate decoding in a worker, or enforce a trusted schema with a bounded nesting depth.","format":"markdown","source":"ghsa"}],"published":"2026-10-08T17:08:22.022Z","modified":"2026-10-09T12:17:07.863Z","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:L","score":5.3,"rating":"MEDIUM"},"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:L","score":5.3,"rating":"MEDIUM"},{"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:L","score":5.3,"rating":"MEDIUM"}],"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-24ch-f2g6-9hhh","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/mcollina/msgpack5/commit/1e2b5874e555dd7c99417f64788a03b0590bb102","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-09T11:39:21.902Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-107298","url":"https://www.cve.org/CVERecord?id=CVE-2026-107298","licence":"CVE Terms of Use","modified":"2026-10-09T11:39:42.593Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-24ch-f2g6-9hhh","url":"https://github.com/advisories/GHSA-24ch-f2g6-9hhh","licence":"CC-BY-4.0","modified":"2026-10-08T18:00:09.700Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-107298","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-107298","licence":"Public domain","modified":"2026-10-09T12:17:07.863Z"}],"updatedAt":"2026-11-25T22:59:43.191Z","epss":{"score":0.00372,"percentile":0.33138,"date":"2026-12-01T12:00:22.000Z"}}