{"id":"CVE-2026-107299","aliases":["CVE-2026-107299","GHSA-26wq-p25c-j6fv"],"related":[],"kind":"vulnerability","state":"published","title":"msgpack5: Reserved byte can cause unbounded stream buffering","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nThe 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.\n\n### Patches\n\nThe decoder now rejects `0xc1` as invalid input. Streaming decoders release buffered input and stop after unrecoverable decoding errors.\n\n### Workarounds\n\nReject `0xc1` before streaming input to msgpack5, and enforce stream byte and time limits.","format":"markdown","source":"ghsa"}],"published":"2026-10-08T17:09:47.191Z","modified":"2026-10-09T16:17:22.147Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.9,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.9,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.9,"rating":"MEDIUM"}],"cwes":["CWE-228"],"affected":[{"ranges":[{"version":"< 6.1.0","status":"affected"}],"vendor":"mcollina","product":"msgpack5","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"6.1.0"}],"ecosystem":"npm","package":"msgpack5","purl":"pkg:npm/msgpack5","source":"ghsa"}],"references":[{"url":"https://github.com/mcollina/msgpack5/security/advisories/GHSA-26wq-p25c-j6fv","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/mcollina/msgpack5/commit/85da345bf1acc18ca441741e5cf4aa0ed0d69314","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/mcollina/msgpack5/releases/tag/v6.1.0","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/mcollina/msgpack5","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-10-08T20:23:17.872Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-107299","url":"https://www.cve.org/CVERecord?id=CVE-2026-107299","licence":"CVE Terms of Use","modified":"2026-10-09T15:15:00.980Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-26wq-p25c-j6fv","url":"https://github.com/advisories/GHSA-26wq-p25c-j6fv","licence":"CC-BY-4.0","modified":"2026-10-08T18:00:08.901Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-107299","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-107299","licence":"Public domain","modified":"2026-10-09T16:17:22.147Z"}],"updatedAt":"2026-11-25T22:59:43.191Z","epss":{"score":0.00389,"percentile":0.35109,"date":"2026-12-01T12:00:22.000Z"}}