Advisory

GHSA-5x5g-h9x8-2fh9

Also known as: CVE-2026-107300

Summary

msgpack5: Many buffered values can exhaust the streaming decoder stack

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-10-08 17:40 UTC
Modified
2026-10-08 18:00 UTC

Affected packages and fixes

msgpack5

npm · All systems

Affected

  • introduced 0, fixed 6.1.0 (semver)

Fixed versions

6.1.0

Fix

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

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences