CVE-2026-107300: msgpack5 Many Buffered Values Can Exhaust Vulnerability
HIGHCVE-2026-107300 is a HIGH (CVSS 7.5) many buffered values can exhaust vulnerability (CWE-674: Uncontrolled Recursion) affecting msgpack5 libraries in the npm ecosystem. The issue involves many buffered values can exhaust the streaming decoder stack. Remediation is available by upgrading affected packages to version 6.1.0.
CVE-2026-107300 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).
How to Fix CVE-2026-107300
To remediate this vulnerability, upgrade all affected msgpack5 dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install msgpack5@6.1.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls msgpack5
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-107300, inspect your project dependencies using npm:
npm ls msgpack5
Analyze the terminal output to locate any version of msgpack5 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 6.1.0), your application is affected.
Note: The npm ls msgpack5 command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-674: Uncontrolled Recursion, where the product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack. In msgpack5, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-107300 Affected msgpack5 Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
msgpack5
|
npm |
< 6.1.0
|
6.1.0
|
References
Frequently Asked Questions
What is CVE-2026-107300?
Which msgpack5 versions are affected?
What version fixes CVE-2026-107300?
Is msgpack5 affected?
What is the CVSS score of CVE-2026-107300?
What CWE is associated with CVE-2026-107300?
How can I check npm dependencies for CVE-2026-107300?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-5x5g-h9x8-2fh9",
"modified" : "2026-10-08T17:40:06Z",
"published" : "2026-10-08T17:40:06Z",
"aliases" : [ "CVE-2026-107300" ],
"summary" : "msgpack5: Many buffered values can exhaust the streaming decoder stack",
"details" : "### Impact\n\nThe streaming decoder recursively invokes itself for every complete value remaining in a chunk. A single chunk containing many small valid MessagePack values can exhaust the JavaScript call stack and interrupt the process or stream.\n\n### Patches\n\nThe streaming decoder now drains concatenated values iteratively with constant call-stack depth.\n\n### Workarounds\n\nLimit the number of MessagePack values accepted in one chunk, or split large batches before passing them to the decoder stream.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "msgpack5"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "6.1.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/mcollina/msgpack5/security/advisories/GHSA-5x5g-h9x8-2fh9"
}, {
"type" : "WEB",
"url" : "https://github.com/mcollina/msgpack5/commit/77fbef144d05def5d16fc22c37caa64c0a7efeba"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/mcollina/msgpack5"
}, {
"type" : "WEB",
"url" : "https://github.com/mcollina/msgpack5/releases/tag/v6.1.0"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-674" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-10-08T17:40:06Z",
"nvd_published_at" : null
}
}