{"schema":"threatline.record/2","record":{"id":"CVE-2026-104845","aliases":["GHSA-jp82-f5mq-hwhp"],"summary":"Seroval: Memory exhaustion via unchecked TypedArray length in JSON deserialization","details":"# Summary\n\ndeserializeTypedArray casts the source node to ArrayBuffer without checking it and never bounds the element count. Pass a plain object with a length property and it hits the array-like TypedArray constructor, allocating that many elements. The offset guard above it can't stop this: source.byteLength is undefined, so the comparison is always false.\n\nThe length is one integer in the JSON, so a tiny payload can name any allocation size, and it runs synchronously inside fromJSON, starving the event loop instead of just slowing one request. fromCrossJSON is the same.\n\nImpact is unauthenticated CPU/memory exhaustion for any service deserializing untrusted Seroval JSON: same profile as the array-length and nested-depth DoS issues already fixed here. No confidentiality or integrity impact. DataView has the same unchecked cast but throws instead of allocating. A runtime instanceof ArrayBuffer check plus a size cap should fix it.","categories":["Libraries & packages"],"product":"seroval","vendor":"lxsmnsyc","ecosystem":"npm","affected_ranges":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-jp82-f5mq-hwhp","source_modified_at":"2026-10-05T23:40:41Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"seroval"},"range":"<= 1.6.2"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-104845","source_modified_at":"2026-10-06T16:34:23.733Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"seroval","vendor":"lxsmnsyc","versions":[{"version":"< 1.6.3","status":"affected"}],"defaultStatus":null},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-jp82-f5mq-hwhp","source_modified_at":"2026-10-05T23:45:07.431923537Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"seroval","purl":"pkg:npm/seroval"},"ranges":[{"events":[{"introduced":"0"},{"fixed":"1.6.3"}],"type":"SEMVER"}],"versions":[]}],"fixed_versions":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-jp82-f5mq-hwhp","source_modified_at":"2026-10-05T23:40:41Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"seroval"},"version":"1.6.3"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-jp82-f5mq-hwhp","source_modified_at":"2026-10-05T23:45:07.431923537Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"seroval","purl":"pkg:npm/seroval"},"version":"1.6.3"}],"cvss":7.5,"severity":"High","kev":{"listed":false},"epss":{"probability":0.00432,"percentile":0.36385,"score_date":"2026-10-23"},"published_at":"2026-10-02T15:55:21.197Z","modified_at":"2026-10-06T16:34:23.733Z","provenance":[{"source":"GitHub Advisory Database","url":"https://github.com/advisories/GHSA-jp82-f5mq-hwhp","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-05T23:40:41Z"},{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-104845","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-10-06T16:34:23.733Z"},{"source":"OSV","url":"https://osv.dev/vulnerability/GHSA-jp82-f5mq-hwhp","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-05T23:45:07.431923537Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-104845","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/lxsmnsyc/seroval/security/advisories/GHSA-jp82-f5mq-hwhp","tags":["x_refsource_CONFIRM"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-104845","source":"GitHub Advisory Database"},{"source":"CVE List","url":"https://github.com/lxsmnsyc/seroval/commit/ac0163e420ac7dcbbefac4d069bcefad300a4851","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/lxsmnsyc/seroval/commit/e54a6f62784b9e48e3a5fa2ab4089ca69fb8996e","tags":["x_refsource_MISC"]},{"url":"https://github.com/advisories/GHSA-jp82-f5mq-hwhp","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-06T16:34:12.143577Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"ecosystem","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-06T16:34:23.733Z","content_hash":"3c6978b7f8bf4aac555e7d34ecb6bbee156cb8c58240a715f84f170b2668bd3f"}}
