CVE-2026-107297 Details
Description
msgpack5 is a msgpack v5 implementation for node.js and the browser. Prior to 6.1.0, the streaming decoder reparses an incomplete array or map from the beginning whenever another chunk arrives. A remote peer can split one valid MessagePack container across many small chunks, causing completed elements to be decoded repeatedly, producing quadratic CPU use and blocking the event loop. This issue is fixed in version 6.1.0.
A denial-of-service vulnerability has been identified in msgpack5, a MessagePack v5 implementation for Node.js and the browser, affecting versions prior to 6.1.0. The issue arises in the streaming decoder, which improperly handles incomplete arrays or maps by reprocessing them from the start each time a new chunk is received. This flaw allows a remote peer to fragment a valid MessagePack container across multiple small chunks, leading to excessive CPU consumption and event loop blockage. The vulnerability is rooted in the decoder's failure to maintain the state of partially processed containers, causing completed elements to be decoded multiple times.
Users can upgrade to msgpack5 version 6.1.0 or later, where this vulnerability has been fixed. Instructions for downloading the latest version are available on the GitHub releases page.
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/e4827641d3105e295cbbd56e9c5389978547eab4 | [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-gcx5-hxj7-gpqq | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-407 | Inefficient Algorithmic Complexity | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| mcollina msgpack5 | < 6.1.0 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 8, 2026 | CVE Modified | CISA-ADP |
| Oct 8, 2026 | New CVE Received | [email protected] |
Volerion