Inefficient Algorithmic Complexity Affecting msgpackr package, versions <2.1.4


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.76% (57th 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-MSGPACKR-22744130
  • published23 Nov 2026
  • disclosed22 Nov 2026
  • creditZachariah Mithani

Introduced: 22 Nov 2026

NewCVE-2026-134812  (opens in a new tab)
CWE-407  (opens in a new tab)

How to fix?

Upgrade msgpackr to version 2.1.4 or higher.

Overview

msgpackr is an Ultra-fast MessagePack implementation with extensions for records and structured cloning

Affected versions of this package are vulnerable to Inefficient Algorithmic Complexity via UnpackrStream and decodeIter, which re-decode buffered incomplete values on every incoming chunk. An attacker can stream a large container of small elements in small chunks, causing quadratic decoding cost that blocks the Node.js event loop and results in a denial of service.

CVSS Base Scores

version 4.0
version 3.1