Skip to main content
← All vulnerabilities
CVE-2026-107302GHSA-8F34-F56X-9XPH

msgpack5: Truncated map32 headers throw an unexpected error

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.1.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

msgpack5 is a msgpack v5 implementation for node.js and the browser. Prior to 6.1.0, the decoder reads the four-byte length of a map32 value before validating that the complete five-byte header is available. A truncated map32 header therefore causes a checked out-of-bounds buffer read and throws RangeError instead of IncompleteBufferError, which can unexpectedly terminate a request, stream, or worker in applications that wait for additional bytes after IncompleteBufferError. There is no adjacent-memory disclosure because the buffer implementation checks bounds. This issue is fixed in version 6.1.0.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • mcollina msgpack5

    >= 4.1.0. < 6.1.0

  • msgpack5npm

    From 4.1.0 · fixed in 6.1.0

References 3

GitHub · mcollina/msgpack5