msgpack5
Affected
- introduced
0, fixed6.1.0(semver)
Fixed versions
6.1.0
Fix
- Fixed version
6.1.0npm install [email protected]
Advisory
Also known as: CVE-2026-107297
msgpack5: Quadratic parsing in the streaming decoder
Impact
The streaming decoder reparses an incomplete container from the beginning whenever another chunk arrives. A remote peer can split one valid MessagePack value across many small chunks, causing quadratic CPU usage and blocking the event loop.
Patches
The decoder now preserves incremental container state so completed elements are not parsed again when more input arrives.
Workarounds
Buffer each complete MessagePack value before decoding it, or limit the number of chunks accepted for a single value.
Medium Basis: The source's own band: MODERATE
0, fixed 6.1.0 (semver)6.1.0
6.1.0npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0