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.
Published: 2026-10-08
Score: 5.3 Medium
EPSS: n/a
KEV: No
Impact: Denial of Service (stack exhaustion)
Action: Patch
AI Analysis

Impact

msgpack5 is a MessagePack v5 implementation for node.js and the browser. The vulnerability stems from the array and map decoding paths lacking a nesting‑depth limit. An attacker who can supply MessagePack input may craft deeply nested containers that exhaust the JavaScript call stack, causing the process, worker, or request handler to terminate. This results in a denial of service. The weakness is identified as CWE‑674, indicating an unchecked recursion or loop condition that can lead to stack exhaustion.

Affected Systems

The affected product is mcollina’s msgpack5 library for node.js and browser environments. All versions released before 6.1.0 are impacted, as the depth limit was introduced in v6.1.0 and later. Any deployment using these earlier releases is vulnerable.

Risk and Exploitability

The CVSS score of 5.3 denotes a moderate risk, and the EPSS score is not available. The vulnerability is not listed in the CISA KEV catalog, suggesting no known widespread exploitation. An attacker needs the ability to provide MessagePack input to the vulnerable library, which can occur via network requests, local file ingestion, or other mechanisms that deliver serialized data to the application. Exploitation would interrupt process or thread execution, delivering a denial of service. The vulnerability is therefore a moderate risk that can be mitigated by patching.

Generated by OpenCVE AI on October 8, 2026 at 18:53 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade msgpack5 to version 6.1.0 or later, which implements a nesting‑depth limit.
  • If an immediate upgrade is not feasible, apply input validation or transform incoming MessagePack payloads to enforce a maximum nesting depth before passing them to msgpack5.
  • Continuously monitor application logs for stack overflow exceptions or abrupt terminations and apply the patch as soon as it becomes available.

Generated by OpenCVE AI on October 8, 2026 at 18:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-24ch-f2g6-9hhh msgpack5: Deeply nested input can exhaust the decoder stack
History

Thu, 08 Oct 2026 17:15:00 +0000

Type Values Removed Values Added
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.
Title msgpack5: Deeply nested input can exhaust the decoder stack
Weaknesses CWE-674
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-08T17:08:22.022Z

Reserved: 2026-10-07T15:53:23.587Z

Link: CVE-2026-107298

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-10-08T17:17:15.703

Modified: 2026-10-08T20:48:36.970

Link: CVE-2026-107298

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-08T19:00:07Z

Weaknesses