Skip to content
OpenAdvisories
High · 7.5 CVE-2026-107302 EUVD-2026-95114GHSA-8f34-f56x-9xph

msgpack5: Truncated map32 headers throw an unexpected error

Published Oct 8, 2026 · Updated Oct 19, 2026 · Assigned by GitHub_M

Description

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 products

VendorProductAffectedFixed
mcollina msgpack5 >= 4.1.0. < 6.1.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 msgpack No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
npm msgpack5 >= 4.1.0, < 6.1.0 6.1.0 GHSA-8f34-f56x-9xph

References