Uncontrolled Recursion Affecting msgpack5 package, versions <6.1.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.37% (30th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-MSGPACK5-20581656
  • published8 Oct 2026
  • disclosed8 Oct 2026
  • creditSWIFI AI

Introduced: 8 Oct 2026

NewCVE-2026-107298  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

Upgrade msgpack5 to version 6.1.0 or higher.

Overview

msgpack5 is an A msgpack v5 implementation for node.js and the browser, with extension points

Affected versions of this package are vulnerable to Uncontrolled Recursion via the decode function in lib/decoder.js, which does not limit the nesting depth of decoded MessagePack structures. An attacker can send a deeply nested array or map payload that causes unbounded recursive calls, crashing the process.

CVSS Base Scores

version 4.0
version 3.1