Improper Handling of Syntactically Invalid Structure Affecting msgpack5 package, versions <6.1.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.39% (31st 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-20581802
  • published8 Oct 2026
  • disclosed8 Oct 2026
  • creditSWIFI AI

Introduced: 8 Oct 2026

NewCVE-2026-107299  (opens in a new tab)
CWE-228  (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 Improper Handling of Syntactically Invalid Structure via the tryDecode function in lib/decoder.js, which does not reject the reserved MessagePack byte 0xc1 before attempting to process it. An attacker can send a message containing this reserved byte to trigger an unhandled error that crashes the stream, causing a denial of service.

CVSS Base Scores

version 4.0
version 3.1