CVE-2026-107300
msgpack5: Many buffered values can exhaust the streaming decoder stack
Description
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.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.webjars.npm » msgpack5via npm msgpack5 | < 6.1.0 | 6.1.0 |
Blast radius
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
Other ecosystems
Also affects npm (1 package) . See all on OSV
References
| Package | mcollina/msgpack5 | github.com |
| Web | mcollina/msgpack5 advisory GHSA-5x5g-h9x8-2fh9 | github.com |
| Web | mcollina/msgpack5 commit 77fbef1 | github.com |
| Web | mcollina/msgpack5 release v6.1.0 | github.com |
