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.
Metrics
CVSS 3.1 7.5/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
Source: the vendor's advisory (CNA). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| kriszyp | msgpackr | < 2.1.4 |
References
- https://github.com/kriszyp/msgpackr/blob/v2.1.3/iterators.js#L89-L127
- https://github.com/kriszyp/msgpackr/commit/4eae7a11e96bb4ac292bb9ec9b4765cf18095a2f
- https://github.com/kriszyp/msgpackr/issues/229
- https://www.vulncheck.com/advisories/msgpackr-before-2.1.4-inefficient-algorithmic-complexity-via-unpackrstream-and-decodeiter
Timeline
- Published
- Nov 22, 2026
- Last modified
- Dec 4, 2026
- NVD status
- Awaiting Analysis