msgpack5: Deeply nested input can exhaust the decoder stack
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-107298
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 01:54 UTC · Revision 1
Source evidence
msgpack5: Deeply nested input can exhaust the decoder stack
core-osv · Original sourcePublished 8 Oct 2026, 17:08 UTC
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.
osv:CVE-2026-107298
Complete source record
{
"id": "1501ecbfbbbc93ea8dd2df670537b36ddf8c7a53b2ba66d8a2ccf31a4ae121cf",
"url": "https://osv.dev/vulnerability/CVE-2026-107298",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "msgpack5: Deeply nested input can exhaust the decoder stack",
"summary": "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.",
"evidence": "osv:CVE-2026-107298",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-107298",
"aliases": [
"CVE-2026-107298",
"GHSA-24ch-f2g6-9hhh"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/mcollina/msgpack5",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "3730a5a754ec06912e42865eed9489ed64238ecb"
},
{
"fixed": "1e2b5874e555dd7c99417f64788a03b0590bb102"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "6.1.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "1e2b5874e555dd7c99417f64788a03b0590bb102"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "3730a5a754ec06912e42865eed9489ed64238ecb"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v6.1.0"
}
]
}
}
],
"versions": [
"v6.0.2",
"v6.0.0",
"v5.3.2",
"v5.3.1",
"v3.6.1",
"v3.6.0",
"v5.3.0",
"v5.2.1",
"v5.2.0",
"v5.1.0",
"v5.0.0",
"v4.4.0",
"v4.3.0",
"v4.2.0",
"v4.1.0",
"v4.0.2",
"v4.0.1",
"v4.0.0",
"v3.5.0",
"v3.4.1",
"v3.4.0",
"v3.3.0",
"v3.2.0",
"v3.1.0",
"v3.0.0",
"v2.3.1",
"v2.3.0",
"v2.2.0",
"v2.1.0",
"v2.0.0",
"v1.6.0",
"v1.5.0",
"v1.3.2",
"v1.3.1",
"v1.2.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-107298.json"
}
}
],
"modified": "2026-10-28T02:30:32.650700842Z",
"provider": "osv",
"references": [
"https://github.com/mcollina/msgpack5/releases/tag/v6.1.0",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/107xxx/CVE-2026-107298.json",
"https://github.com/mcollina/msgpack5/security/advisories/GHSA-24ch-f2g6-9hhh",
"https://nvd.nist.gov/vuln/detail/CVE-2026-107298",
"https://github.com/mcollina/msgpack5/commit/1e2b5874e555dd7c99417f64788a03b0590bb102"
],
"provider_metadata": {
"cwe_ids": [
"CWE-674"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/107xxx/CVE-2026-107298.json"
}
},
"related_cves": [
{
"value": "CVE-2026-107298",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 499504,
"published_at": "2026-10-08T17:08:22.022+00:00"
}