{"id":"CVE-2026-104845","published":"2026-10-02T15:55:21Z","modified":"2026-10-06T16:34:23Z","title":"Seroval: Memory exhaustion via unchecked TypedArray length in JSON deserialization","vendor":"lxsmnsyc","product":"seroval","tier":"tail","description":{"text":"Seroval facilitates JS value stringification, including complex structures beyond JSON.stringify capabilities. Prior to 1.6.3, deserializeTypedArray in fromJSON and fromCrossJSON trusts a deserialized source value as an ArrayBuffer and does not bound the serialized element count. An attacker can provide a small untrusted JSON object with a large length value, causing the array-like TypedArray constructor to synchronously allocate the selected number of elements and exhaust CPU or memory while starving the event loop. The offset check does not reject the crafted source because source.byteLength is undefined. DataView reaches a similar unchecked cast but throws rather than allocating, and the issue has no identified confidentiality or integrity impact. This issue is fixed in version 1.6.3.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00609,"percentile":0.43333,"provenance":"source"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/lxsmnsyc/seroval/security/advisories/GHSA-jp82-f5mq-hwhp","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/lxsmnsyc/seroval/commit/ac0163e420ac7dcbbefac4d069bcefad300a4851","tags":["x_refsource_MISC"]},{"url":"https://github.com/lxsmnsyc/seroval/commit/e54a6f62784b9e48e3a5fa2ab4089ca69fb8996e","tags":["x_refsource_MISC"]}],"priority":{"score":13.9,"factors":[{"name":"EPSS percentile","points":8.67},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"lxsmnsyc","affectedVersions":[{"vendor":"lxsmnsyc","product":"seroval","versions":["< 1.6.3"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-10-06T16:34:12.143577Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"seroval","vulnerableRanges":["<1.6.3"],"patched":["1.6.3"],"from":["GHSA-jp82-f5mq-hwhp"],"provenance":"source"}],"summary":{"text":"The Seroval JavaScript library, specifically its deserializeTypedArray routine in the fromJSON and fromCrossJSON functions, fails to bound the element count of serialized TypedArray values before allocating them. An unauthenticated remote attacker who can supply a small JSON payload to an application deserializing it with a vulnerable Seroval version can trigger allocation of a very large array, exhausting CPU or memory and starving the event loop, with no user interaction or special configuration required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:45:41Z"},"euvd":{"id":"EUVD-2026-91744","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-lxsmnsyc-seroval-cve-2026-104845","children":[{"from":"CVE-2026-104845","to":"CVE-2026-116583","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["packages/seroval/src/core/base-primitives.ts"],"commits":["https://github.com/lxsmnsyc/seroval/commit/ac0163e420ac7dcbbefac4d069bcefad300a4851","https://github.com/lxsmnsyc/seroval/commit/e54a6f62784b9e48e3a5fa2ab4089ca69fb8996e","https://github.com/lxsmnsyc/seroval/commit/1313ebbad9687bc0245e08bfd576376e57e0e5c1"],"basis":"shared function","functions":["createBigIntTypedArrayNode"]}]}],"packageHistory":[{"cve":"CVE-2026-24006","published":"2026-01-22","fixed":"1.4.1","kev":false},{"cve":"CVE-2026-59940","published":"2026-08-18","fixed":"1.5.3","kev":false},{"cve":"CVE-2026-104846","published":"2026-10-02","fixed":"1.6.2","kev":false,"link":{"from":"CVE-2026-104846","to":"CVE-2026-104845","relation":"successor","confidence":"high","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:seroval","fromFixed":"1.6.2","toFixed":"1.6.3","daysApart":0},{"kind":"same-code","provenance":"machine","files":["packages/seroval/src/core/context/deserializer.ts"],"commits":["https://github.com/lxsmnsyc/seroval/commit/ac0163e420ac7dcbbefac4d069bcefad300a4851","https://github.com/lxsmnsyc/seroval/commit/e54a6f62784b9e48e3a5fa2ab4089ca69fb8996e","https://github.com/lxsmnsyc/seroval/commit/f1ffcc96d259f9b5b3d71feb262b58240c90e7b7"],"basis":"shared file"}]}},{"cve":"CVE-2026-104845","published":"2026-10-02","fixed":"1.6.3","kev":false},{"cve":"CVE-2026-116580","published":"2026-10-26","fixed":"1.6.8","kev":false,"link":{"from":"CVE-2026-104845","to":"CVE-2026-116580","relation":"successor","confidence":"high","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:seroval","fromFixed":"1.6.3","toFixed":"1.6.8","daysApart":24},{"kind":"same-code","provenance":"machine","files":["packages/seroval/src/core/context/deserializer.ts"],"commits":["https://github.com/lxsmnsyc/seroval/commit/ac0163e420ac7dcbbefac4d069bcefad300a4851","https://github.com/lxsmnsyc/seroval/commit/e54a6f62784b9e48e3a5fa2ab4089ca69fb8996e","https://github.com/lxsmnsyc/seroval/commit/3edc78b495ea0d6bd498143e5b3e56996607c5f2","https://github.com/lxsmnsyc/seroval/commit/50926b3ee198fb757e6ce3aa70efeed38d931c8d"],"basis":"shared file"}]}},{"cve":"CVE-2026-116581","published":"2026-10-26","fixed":"1.6.8","kev":false,"link":{"from":"CVE-2026-104845","to":"CVE-2026-116581","relation":"successor","confidence":"high","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:seroval","fromFixed":"1.6.3","toFixed":"1.6.8","daysApart":24},{"kind":"same-code","provenance":"machine","files":["packages/seroval/src/core/context/deserializer.ts"],"commits":["https://github.com/lxsmnsyc/seroval/commit/ac0163e420ac7dcbbefac4d069bcefad300a4851","https://github.com/lxsmnsyc/seroval/commit/e54a6f62784b9e48e3a5fa2ab4089ca69fb8996e","https://github.com/lxsmnsyc/seroval/commit/e176f9267e59ddd6c9de89cc9fe85c5b37a5b728","https://github.com/lxsmnsyc/seroval/commit/cdcee3e3bc384ee844360844f8ea98fd2b275d69"],"basis":"shared file"}]}},{"cve":"CVE-2026-116584","published":"2026-10-26","fixed":"1.6.8","kev":false,"link":{"from":"CVE-2026-104845","to":"CVE-2026-116584","relation":"successor","confidence":"high","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:seroval","fromFixed":"1.6.3","toFixed":"1.6.8","daysApart":24},{"kind":"same-code","provenance":"machine","files":["packages/seroval/src/core/context/deserializer.ts"],"commits":["https://github.com/lxsmnsyc/seroval/commit/ac0163e420ac7dcbbefac4d069bcefad300a4851","https://github.com/lxsmnsyc/seroval/commit/e54a6f62784b9e48e3a5fa2ab4089ca69fb8996e","https://github.com/lxsmnsyc/seroval/commit/cdcee3e3bc384ee844360844f8ea98fd2b275d69"],"basis":"shared file"}]}}],"package":"npm:seroval"}}