{"id":"CVE-2026-107299","published":"2026-10-08T17:09:47Z","modified":"2026-10-09T15:15:00Z","title":"msgpack5: Reserved byte can cause unbounded stream buffering","vendor":"mcollina","product":"msgpack5","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00515,"percentile":0.37151,"provenance":"source"},"cwes":[{"id":"CWE-228","name":"Improper Handling of Syntactically Invalid Structure"}],"references":[{"url":"https://github.com/mcollina/msgpack5/security/advisories/GHSA-26wq-p25c-j6fv","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/mcollina/msgpack5/commit/85da345bf1acc18ca441741e5cf4aa0ed0d69314","tags":["x_refsource_MISC"]},{"url":"https://github.com/mcollina/msgpack5/releases/tag/v6.1.0","tags":["x_refsource_MISC"]}],"priority":{"score":11.6,"factors":[{"name":"EPSS percentile","points":7.43},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"mcollina","affectedVersions":[{"vendor":"mcollina","product":"msgpack5","versions":["< 6.1.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-08T20:23:17.872522Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"msgpack5","vulnerableRanges":["<6.1.0"],"patched":["6.1.0"],"from":["GHSA-26wq-p25c-j6fv"],"provenance":"source"}],"summary":{"text":"The msgpack5 library (by mcollina) for Node.js and the browser has a flaw in its streaming decoder, which treats the reserved MessagePack byte 0xc1 as incomplete rather than invalid input, so it keeps buffering subsequent data while waiting for bytes that can never make a valid value. A remote peer that sends a stream beginning with 0xc1 can exhaust the process's memory, with no authentication or user interaction required and the attack conditioned on the application decoding attacker-supplied MessagePack streams in versions before 6.1.0.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:00:24Z"},"euvd":{"id":"EUVD-2026-95110","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-mcollina-msgpack5-cve-2021-21368","parents":[{"from":"CVE-2026-107297","to":"CVE-2026-107299","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/decoder.js","lib/streams.js"],"commits":["https://github.com/mcollina/msgpack5/commit/e4827641d3105e295cbbd56e9c5389978547eab4","https://github.com/mcollina/msgpack5/commit/85da345bf1acc18ca441741e5cf4aa0ed0d69314"],"basis":"rarely changed file"}]},{"from":"CVE-2026-107298","to":"CVE-2026-107299","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/decoder.js"],"commits":["https://github.com/mcollina/msgpack5/commit/1e2b5874e555dd7c99417f64788a03b0590bb102","https://github.com/mcollina/msgpack5/commit/85da345bf1acc18ca441741e5cf4aa0ed0d69314"],"basis":"shared function","functions":["tryDecode"]}]}],"children":[{"from":"CVE-2026-107299","to":"CVE-2026-107300","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/streams.js"],"commits":["https://github.com/mcollina/msgpack5/commit/85da345bf1acc18ca441741e5cf4aa0ed0d69314","https://github.com/mcollina/msgpack5/commit/77fbef144d05def5d16fc22c37caa64c0a7efeba"],"basis":"rarely changed file"}]}]}}