CVE-2026-107302 Details
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.
A vulnerability in msgpack5, a MessagePack v5 implementation for Node.js and the browser, prior to version 6.1.0, allows for an out-of-bounds buffer read. This occurs because the decoder reads the four-byte length of a map32 value before ensuring that the complete five-byte header is available. As a result, a truncated map32 header leads to a checked out-of-bounds buffer read, causing a RangeError to be thrown instead of the expected IncompleteBufferError. This behavior can disrupt applications that rely on IncompleteBufferError to manage data streams, requests, or worker threads. Fortunately, the buffer implementation prevents adjacent memory disclosure by checking bounds.
Users can upgrade to msgpack5 version 6.1.0 or later, where this vulnerability has been fixed. In version 6.1.0, the decoder correctly validates the complete five-byte map32 header before reading its length, and properly handles truncated headers by throwing an IncompleteBufferError.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 8, 2026CISA-ADP
Assessed Oct 8, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/mcollina/msgpack5/commit/15443a1f2aa682a6aa37f1705ac628de5b866ad1 | [email protected] | Source CodeVendor |
| https://github.com/mcollina/msgpack5/releases/tag/v6.1.0 | [email protected] | Release NotesVendor |
| https://github.com/mcollina/msgpack5/security/advisories/GHSA-8f34-f56x-9xph | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| mcollina msgpack5 | < 6.1.0 (semver) |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 19, 2026 | CVE Modified | [email protected] |
| Oct 8, 2026 | New CVE Received | [email protected] |
| Oct 8, 2026 | CVE Modified | CISA-ADP |
Volerion