AploSec / Disclosures / CVE-2026-134812
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
- Referencehttps://github.com/kriszyp/msgpackr/issues/229
- VulnCheck advisoryhttps://www.vulncheck.com/advisories/msgpackr-before-2.1.4-inefficient-algorithmic-complexity-via-unpackrstream-and-decodeiter
- Fix commithttps://github.com/kriszyp/msgpackr/commit/4eae7a11e96bb4ac292bb9ec9b4765cf18095a2f
- Vulnerable codehttps://github.com/kriszyp/msgpackr/blob/v2.1.3/iterators.js#L89-L127
- CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-134812
- NVD recordhttps://nvd.nist.gov/vuln/detail/CVE-2026-134812
- 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