CVE-2026-107299

msgpack5: Reserved byte can cause unbounded stream buffering

State
Published
Severity
5.9 Medium
Published
Oct 8, 2026
Updated
Oct 9, 2026
Reserved
Oct 7, 2026

Read the record on cve.org

Description

msgpack5 is a msgpack v5 implementation for node.js and the browser. Prior to 6.1.0, the streaming decoder treats the reserved MessagePack byte 0xc1 as incomplete input instead of invalid input. When 0xc1 begins a stream, subsequent data remains buffered while the decoder waits for bytes that cannot make the value valid, allowing a remote peer to exhaust memory. This issue is fixed in version 6.1.0.

Scores

CVSSScoreVectorSource
3.15.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:HGitHub_M

Weaknesses

  • CWE-228 Improper Handling of Syntactically Invalid Structure

Affected Products

ProductVersions
msgpack5mcollina
  • < 6.1.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.