Modification of Assumed-Immutable Data (MAID) 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.28% (19th 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-20581674
  • published8 Oct 2026
  • disclosed8 Oct 2026
  • creditSWIFI AI

Introduced: 8 Oct 2026

NewCVE-2026-107296  (opens in a new tab)
CWE-471  (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 Modification of Assumed-Immutable Data (MAID) via the readInt64BE function in lib/decoder.js, which mutates the input buffer in-place when decoding a negative 64-bit signed integer. An attacker who can supply a msgpack payload containing a negative int64 value can cause the underlying buffer to be modified during decoding, allowing unintended alteration of shared buffer data and producing an incorrect decoded result.

CVSS Base Scores

version 4.0
version 3.1