Advisory

GHSA-gcx5-hxj7-gpqq

Also known as: CVE-2026-107297

Summary

msgpack5: Quadratic parsing in the streaming decoder

Details

Impact

The streaming decoder reparses an incomplete container from the beginning whenever another chunk arrives. A remote peer can split one valid MessagePack value across many small chunks, causing quadratic CPU usage and blocking the event loop.

Patches

The decoder now preserves incremental container state so completed elements are not parsed again when more input arrives.

Workarounds

Buffer each complete MessagePack value before decoding it, or limit the number of chunks accepted for a single value.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-10-08 17:39 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