All reports
High

msgpack5: Many buffered values can exhaust the streaming decoder stack

Affected versions

Affected versions
< 6.1.0
Fixed version
6.1.0

Exploitation

CVE-2026-107300

Probability of exploitation in the next 30 days: 0.43%

FIRST EPSS · 2026-11-20

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.

Links

Credits

  • SWIFI-AI