CVE-2026-107298 Details
Description
msgpack5 is a msgpack v5 implementation for node.js and the browser. Prior to 6.1.0, the array and map decoding paths have no nesting-depth limit, allowing an attacker who can provide MessagePack input to submit deeply nested containers that exhaust the JavaScript call stack and interrupt a process, worker, or request handler. 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. Prior to version 6.1.0, the library's array and map decoding processes lacked a nesting-depth limit. This flaw allowed attackers to submit deeply nested containers that could exhaust the JavaScript call stack, disrupting a process, worker, or request handler.
Users can update to msgpack5 version 6.1.0 or later, which includes a default maximum depth limit of 100 for decoding arrays and maps. Applications can also configure this limit with the 'maxDepth' option. For those using earlier versions, it is advisable to reject deeply nested input before decoding, isolate the decoding process in a worker, or enforce a trusted schema that limits nesting depth.
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 9, 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/1e2b5874e555dd7c99417f64788a03b0590bb102 | [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-24ch-f2g6-9hhh | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-674 | Uncontrolled Recursion | [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 9, 2026 | CVE Modified | CISA-ADP |
| Oct 8, 2026 | New CVE Received | [email protected] |
Volerion