{"schema":"threatline.record/2","record":{"id":"CVE-2026-107297","aliases":["GHSA-gcx5-hxj7-gpqq"],"summary":"msgpack5: Quadratic parsing in the streaming decoder","details":"### Impact\n\nThe streaming decoder reparses an incomplete container from the beginning whenever another chunk arrives. A remote peer can split one valid MessagePack value across many small chunks, causing quadratic CPU usage and blocking the event loop.\n\n### Patches\n\nThe decoder now preserves incremental container state so completed elements are not parsed again when more input arrives.\n\n### Workarounds\n\nBuffer each complete MessagePack value before decoding it, or limit the number of chunks accepted for a single value.","categories":["Libraries & packages"],"product":"msgpack5","vendor":"mcollina","ecosystem":"npm","affected_ranges":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-gcx5-hxj7-gpqq","source_modified_at":"2026-10-08T17:39:47Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"msgpack5"},"range":"< 6.1.0"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-107297","source_modified_at":"2026-10-08T17:26:27.457Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"msgpack5","vendor":"mcollina","versions":[{"status":"affected","version":"< 6.1.0"}],"defaultStatus":null},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-gcx5-hxj7-gpqq","source_modified_at":"2026-10-08T18:00:08.904462199Z","fetched_at":"2026-10-23T18:48:36.087640Z","package":{"name":"msgpack5","ecosystem":"npm","purl":"pkg:npm/msgpack5"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"6.1.0"}]}],"versions":[]}],"fixed_versions":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-gcx5-hxj7-gpqq","source_modified_at":"2026-10-08T17:39:47Z","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-gcx5-hxj7-gpqq","source_modified_at":"2026-10-08T18:00:08.904462199Z","fetched_at":"2026-10-23T18:48:36.087640Z","package":{"name":"msgpack5","ecosystem":"npm","purl":"pkg:npm/msgpack5"},"version":"6.1.0"}],"cvss":5.9,"severity":"Medium","kev":{"listed":false},"epss":{"probability":0.00389,"percentile":0.31797,"score_date":"2026-10-23"},"published_at":"2026-10-08T17:07:03.740Z","modified_at":"2026-10-08T18:00:08.904462199Z","provenance":[{"source":"GitHub Advisory Database","url":"https://github.com/advisories/GHSA-gcx5-hxj7-gpqq","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-08T17:39:47Z"},{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-107297","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-10-08T17:26:27.457Z"},{"source":"OSV","url":"https://osv.dev/vulnerability/GHSA-gcx5-hxj7-gpqq","fetched_at":"2026-10-23T18:48:36.087640Z","source_modified_at":"2026-10-08T18:00:08.904462199Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-107297","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-gcx5-hxj7-gpqq","tags":["x_refsource_CONFIRM"]},{"source":"CVE List","url":"https://github.com/mcollina/msgpack5/commit/e4827641d3105e295cbbd56e9c5389978547eab4","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/mcollina/msgpack5/releases/tag/v6.1.0","tags":["x_refsource_MISC"]},{"url":"https://github.com/advisories/GHSA-gcx5-hxj7-gpqq","source":"GitHub Advisory Database"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial","assessed_at":"2026-10-08T17:26:19.427864Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"ecosystem","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-08T18:00:08.904462199Z","content_hash":"c9873160600068c5bf07ff165df1a6131fd8f3904be15da836d92d9aed321a24"}}
