NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

CVE-2026-107300: msgpack5: Many buffered values can exhaust the streaming decoder stack

highCVSS 3.1 7.5GHSA-5x5g-h9x8-2fh9

Impact The streaming decoder recursively invokes itself for every complete value remaining in a chunk. A single chunk containing many small valid MessagePack values can exhaust the JavaScript call stack and interrupt the process or stream. Patches The streaming decoder now drains concatenated values iteratively with constant call-stack depth.

Published Oct 8, 2026

Affected packages

msgpack5

Ecosystem
npm
Affected
< 6.1.0
Fixed in
6.1.0
Check
npm ls msgpack5

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

Impact

The streaming decoder recursively invokes itself for every complete value remaining in a chunk. A single chunk containing many small valid MessagePack values can exhaust the JavaScript call stack and interrupt the process or stream.

Patches

The streaming decoder now drains concatenated values iteratively with constant call-stack depth.

Workarounds

Limit the number of MessagePack values accepted in one chunk, or split large batches before passing them to the decoder stream.

Credited to SWIFI-AI.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More npm vulnerabilities

All npm entries