{"schema":"threatline.record/2","record":{"id":"CVE-2026-107302","aliases":["GHSA-8f34-f56x-9xph"],"summary":"msgpack5: Truncated map32 headers throw an unexpected error","details":"### Impact\n\nA truncated `map32` header causes an out-of-bounds buffer read and throws `RangeError` instead of `IncompleteBufferError`. Applications that rely on `IncompleteBufferError` to wait for additional bytes may terminate a request, stream, or worker unexpectedly. No adjacent memory is disclosed because the buffer implementation checks bounds.\n\n### Patches\n\nThe decoder now validates the complete five-byte `map32` header before reading its length and reports truncated input as `IncompleteBufferError`.\n\n### Workarounds\n\nRequire at least five bytes before decoding a value beginning with `0xdf`, or catch `RangeError` and treat it as incomplete input only for truncated `map32` headers.","categories":["Libraries & packages"],"product":"msgpack5","vendor":"mcollina","ecosystem":"npm","affected_ranges":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-8f34-f56x-9xph","source_modified_at":"2026-10-19T19:29:00Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"msgpack5"},"range":">= 4.1.0, < 6.1.0"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-107302","source_modified_at":"2026-10-19T19:29:15.139Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"msgpack5","vendor":"mcollina","versions":[{"version":">= 4.1.0. < 6.1.0","status":"affected"}],"defaultStatus":null},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-8f34-f56x-9xph","source_modified_at":"2026-10-19T19:45:04.408071513Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"msgpack5","purl":"pkg:npm/msgpack5"},"ranges":[{"events":[{"introduced":"4.1.0"},{"fixed":"6.1.0"}],"type":"SEMVER"}],"versions":[]}],"fixed_versions":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-8f34-f56x-9xph","source_modified_at":"2026-10-19T19:29:00Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"msgpack5"},"version":"6.1.0"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-8f34-f56x-9xph","source_modified_at":"2026-10-19T19:45:04.408071513Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"msgpack5","purl":"pkg:npm/msgpack5"},"version":"6.1.0"}],"cvss":7.5,"severity":"High","kev":{"listed":false},"epss":{"probability":0.00426,"percentile":0.35846,"score_date":"2026-10-23"},"published_at":"2026-10-08T17:14:19.514Z","modified_at":"2026-10-19T19:45:04.408071513Z","provenance":[{"source":"GitHub Advisory Database","url":"https://github.com/advisories/GHSA-8f34-f56x-9xph","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-19T19:29:00Z"},{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-107302","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-10-19T19:29:15.139Z"},{"source":"OSV","url":"https://osv.dev/vulnerability/GHSA-8f34-f56x-9xph","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-19T19:45:04.408071513Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-107302","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["GitHub Advisory Database","CVE List","OSV","EPSS"],"references":[{"source":"CVE List","url":"https://github.com/mcollina/msgpack5/security/advisories/GHSA-8f34-f56x-9xph","tags":["x_refsource_CONFIRM"]},{"source":"CVE List","url":"https://github.com/mcollina/msgpack5/commit/15443a1f2aa682a6aa37f1705ac628de5b866ad1","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/mcollina/msgpack5/releases/tag/v6.1.0","tags":["x_refsource_MISC"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-107302","source":"GitHub Advisory Database"},{"url":"https://github.com/advisories/GHSA-8f34-f56x-9xph","source":"GitHub Advisory Database"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"partial","assessed_at":"2026-10-08T17:32:15.263797Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"ecosystem","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-19T19:45:04.408071513Z","content_hash":"114a589b6d90c498934bcc1ee980d25a81c0a96aa778d591d9799c33385d887a"}}
