Vulnerability GHSA-24ch-f2g6-9hhh

Medium Risk
MEDIUM RISK
CVSS Score: 5.3
Score Range: 4.0–6.9
Medium severity vulnerabilities (CVSS 4.0–6.9). Important issues that meaningfully reduce security confidence.
5 hours ago
October 08, 2026 at 05:39 PM UTC
msgpack5: Deeply nested input can exhaust the decoder stack
1.0.0 - 6.0.2
1.0.0 - 6.0.2

Summary

msgpack5: Deeply nested input can exhaust the decoder stack

Details

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.

Impacted packages

Timeline

Published
5 hours ago
October 08, 2026 at 05:39 PM UTC
Fixed (6.1.0)
Unknown
Unknown
Last Modified
5 hours ago
October 08, 2026 at 06:00 PM UTC