msgpack5
Affected
- introduced
0, fixed6.1.0(semver)
Fixed versions
6.1.0
Fix
- Fixed version
6.1.0npm install [email protected]
Advisory
Also known as: CVE-2026-107298
msgpack5: Deeply nested input can exhaust the decoder stack
Impact
The 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.
Patches
The decoder now limits nesting depth to 100 by default and throws Maximum decode depth exceeded. Applications can configure the limit with the maxDepth option.
Workarounds
Reject deeply nested input before decoding, isolate decoding in a worker, or enforce a trusted schema with a bounded nesting depth.
Medium Basis: The source's own band: MODERATE
0, fixed 6.1.0 (semver)6.1.0
6.1.0npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0