Vulnerability library
Security checkOctober 08, 2026

msgpack5: Deeply nested input can exhaust the decoder stack

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Medium severitynpmmsgpack5

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

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.

Recommendation

Update the msgpack5 package to the latest compatible version. Followings are version details:

  • Affected version(s): < 6.1.0
  • Patched version(s): 6.1.0

References

Could your website be exposed too?

SmartScanner can check your website for msgpack5: Deeply nested input can exhaust the decoder stack and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated October 08, 2026