CVE-2026-107302

published 8 Oct 2026 · updated 19 Oct 2026

msgpack5: Truncated map32 headers throw an unexpected error

7.5HighCVSS 7.5EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
mcollina>=4.1.0. <6.1.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-107302 severity on Zeptric[![CVE-2026-107302](https://zeptric.io/badge/cve/CVE-2026-107302.svg)](https://zeptric.io/cve/CVE-2026-107302)