Advisory

GHSA-26wq-p25c-j6fv

Also known as: CVE-2026-107299

Summary

msgpack5: Reserved byte can cause unbounded stream buffering

Details

Impact

The reserved MessagePack byte 0xc1 is incorrectly treated as incomplete input. When it appears at the start of a decoder stream, all subsequent data is retained while the decoder waits for bytes that can never make the value valid, allowing memory exhaustion.

Patches

The decoder now rejects 0xc1 as invalid input. Streaming decoders release buffered input and stop after unrecoverable decoding errors.

Workarounds

Reject 0xc1 before streaming input to msgpack5, and enforce stream byte and time limits.

Severity

Medium Basis: The source's own band: MODERATE

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