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

Published Oct 8, 2026
·
Updated

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.

Other sources

msgpack5 is a msgpack v5 implementation for node.js and the browser. Prior to 6.1.0, the streaming decoder recursively invokes itself for each complete MessagePack value remaining in a chunk. A remote peer can send one chunk containing many small valid values, causing recursion proportional to the value count, exhausting the JavaScript call stack, and interrupting the process or stream. This issue is fixed in version 6.1.0.

— MITRE

Affected Software

2 affected componentsFixes available
npm/msgpack5<6.1.0
npm/msgpack5<6.1.0
6.1.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade npm/msgpack5 to a version that resolves this vulnerability.

    Fixed in 6.1.0
  2. Upgrade

    Upgrade msgpack5 to a version that resolves this vulnerability.

    Fixed in 6.1.0
  3. Compensating control

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

Event History

Oct 8, 2026
CVE Published
via MITRE·05:11 PM
Data Sourced
via MITRE·05:11 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:17 PM
DescriptionSeverityWeakness
Advisory Published
via GitHub·05:40 PM
Data Sourced
via GitHub·05:40 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

Which deployments are exposed to this denial-of-service condition?

Applications using msgpack5 versions earlier than 6.1.0 that decode MessagePack data from a remote peer through the streaming decoder are exposed. Both Node.js and browser uses are within the stated product scope.

2

What does an attacker need to send to trigger the issue?

An attacker needs to be able to send a single input chunk containing many small, valid MessagePack values. No malformed MessagePack input is required; the decoder's recursive handling of remaining complete values causes call-stack growth proportional to the number of values.

3

What is the operational impact of successful exploitation?

Exhausting the JavaScript call stack can interrupt the affected process or stream, resulting in a denial of service. The supplied severity vector indicates no confidentiality or integrity impact.

4

What version resolves the vulnerability?

Upgrade msgpack5 to version 6.1.0 or later. The issue is stated to affect versions prior to 6.1.0.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203