AploSec / Disclosures / CVE-2026-134812

High 8.7ReportedFixed in 2.1.4CWE-407npm

msgpackr before 2.1.4 Inefficient Algorithmic Complexity via UnpackrStream and decodeIter

CVE-2026-134812 · published 2026-11-22

In plain words: this type of bug lets someone slow down or crash the service with crafted input (denial of service). A fixed release is listed.

Summary

CVE-2026-134812 affects msgpackr (npm) < 2.1.4: Inefficient Algorithmic Complexity via UnpackrStream and decodeIter (CWE-407). Fixed in 2.1.4. CVSS 4.0 base score 8.7 (High), assigned by VulnCheck. Published 2026-11-22 by VulnCheck. Credit: Zachariah Mithani (AploSec).

msgpackr before 2.1.4 contains an inefficient algorithmic complexity vulnerability that allows remote attackers to cause denial of service by repeatedly re-decoding buffered incomplete values. Attackers can stream a large container of small elements in small chunks to UnpackrStream or decodeIter, triggering quadratic decoding cost that blocks the Node.js event loop.

Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

Remediation

Upgrade msgpackr to 2.1.4 or later. Releases in the affected range (< 2.1.4) are vulnerable. See the linked advisory for details on affected release lines.

Timeline

  • 2026-11-22 CVE published

References

Severity
High 8.7CVSS 4.0, scored by VulnCheck in the CVE record
Package
msgpackr
Ecosystem
npm
Affected
< 2.1.4
Fixed
2.1.4
Weakness
CWE-407
CNA
VulnCheck
Credit
Zachariah Mithani (AploSec)finder