msgpackr before 2.1.4 Inefficient Algorithmic Complexity via UnpackrStream and decodeIter
- State
- Published
- Severity
- 8.7 High
- Published
- Nov 22, 2026
- Updated
- Nov 23, 2026
- Reserved
- Nov 22, 2026
Description
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.
| Product | Versions |
|---|---|
| msgpackr kriszyp | before 2.1.4 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.7 High | VulnCheck | |
| 3.1 | 7.5 High | VulnCheck |
Weaknesses
- CWE-407 Inefficient Algorithmic Complexity
References
- https://github.com/kriszyp/msgpackr/issues/229Issue Tracker
- https://github.com/kriszyp/msgpackr/commit/4eae7a11e96bb4ac292bb9ec9b4765cf18095a2fPatch
- https://github.com/kriszyp/msgpackr/blob/v2.1.3/iterators.js#L89-L127Technical Details
- VulnCheck Advisory: msgpackr before 2.1.4 Inefficient Algorithmic Complexity via UnpackrStream and decodeIterThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.