Vulnerability library
Security checkOctober 19, 2026

msgpack5: Truncated map32 headers throw an unexpected error

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

High severitynpmmsgpack5

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

A truncated map32 header causes an out-of-bounds buffer read and throws RangeError instead of IncompleteBufferError. Applications that rely on IncompleteBufferError to wait for additional bytes may terminate a request, stream, or worker unexpectedly. No adjacent memory is disclosed because the buffer implementation checks bounds.

Recommendation

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

  • Affected version(s): >= 4.1.0, < 6.1.0
  • Patched version(s): 6.1.0

References

Could your website be exposed too?

SmartScanner can check your website for msgpack5: Truncated map32 headers throw an unexpected error and gives you actionable findings to investigate.

Start a free scan

Related Issues

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