{"id":"CVE-2026-116581","aliases":["CLSA-2026-1793699098","EUVD-2026-110367","GHSA-97r2-qh9m-474h"],"status":"published","title":"Seroval: fromJSON deserializer trusts sequence doneAt (unauthenticated event-loop DoS)","description":"Seroval facilitates JavaScript value stringification, including complex structures beyond JSON.stringify capabilities. Prior to 1.6.8, fromJSON and fromCrossJSON do not validate a sequence node's done index. A crafted done index can create an iterator that never finishes when application code consumes it to completion. An unauthenticated request to a service that deserializes untrusted input can therefore block the event loop, exhaust process memory, or make the service unavailable. This issue is fixed in version 1.6.8.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.00451,"percentile":0.39656,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-1284","CWE-835"],"published":"2026-10-26T20:41:52Z","modified":"2026-11-03T13:30:04Z","fixes":[{"ecosystem":"npm","package":"seroval","fixed_in":["1.6.8"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"seroval","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.6.7"},{"fixed":"1.6.8"}]}]},{"source":"osv","ecosystem":"TuxCare:npm","package":"seroval","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.5.6-tuxcare.0"},{"fixed":"1.5.6-tuxcare.4"}]}],"versions":["1.5.6","1.5.6-tuxcare.1","1.5.6-tuxcare.2","1.5.6-tuxcare.3"],"bundled":2},{"source":"osv","ecosystem":"npm","package":"seroval","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.6.8"}]}]}],"products":[{"vendor":"lxsmnsyc","product":"seroval"}],"references":[{"url":"https://github.com/lxsmnsyc/seroval/security/advisories/GHSA-97r2-qh9m-474h","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/lxsmnsyc/seroval/commit/e176f9267e59ddd6c9de89cc9fe85c5b37a5b728","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/lxsmnsyc/seroval/releases/tag/seroval@1.6.8","tags":["x_refsource_MISC","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-116581","tags":["advisory"]},{"url":"https://github.com/lxsmnsyc/seroval/commit/cdcee3e3bc384ee844360844f8ea98fd2b275d69","tags":["web"]},{"url":"https://github.com/advisories/GHSA-97r2-qh9m-474h"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/116xxx/CVE-2026-116581.json","tags":["advisory"]},{"url":"https://github.com/lxsmnsyc/seroval","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2026-116581","title":"Seroval: fromJSON deserializer trusts sequence doneAt (unauthenticated event-loop DoS)","description":"Seroval facilitates JavaScript value stringification, including complex structures beyond JSON.stringify capabilities. Prior to 1.6.8, fromJSON and fromCrossJSON do not validate a sequence node's done index. A crafted done index can create an iterator that never finishes when application code consumes it to completion. An unauthenticated request to a service that deserializes untrusted input can therefore block the event loop, exhaust process memory, or make the service unavailable. This issue is fixed in version 1.6.8.","status":"published","published":"2026-10-26T20:41:52.905Z","modified":"2026-10-31T01:49:33.208Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-835","CWE-1284"],"updated_at":"2026-11-02T14:20:03.4818Z"}],"euvd":[{"id":"EUVD-2026-110367","description":"Seroval facilitates JavaScript value stringification, including complex structures beyond JSON.stringify capabilities. Prior to 1.6.8, fromJSON and fromCrossJSON do not validate a sequence node's done index. A crafted done index can create an iterator that never finishes when application code consumes it to completion. An unauthenticated request to a service that deserializes untrusted input can therefore block the event loop, exhaust process memory, or make the service unavailable. This issue is fixed in version 1.6.8.","status":"published","published":"2026-10-26T20:41:52Z","modified":"2026-10-31T01:49:33Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T16:59:01.198534Z"}],"ghsa":[{"id":"GHSA-97r2-qh9m-474h","title":"Seroval: fromJSON deserializer trusts node-supplied array length and sequence doneAt (unauthenticated event-loop DoS)","description":"### Summary\n\n`fromJSON` and `fromCrossJSON` used two node fields without checking them.\n\n- An array node's element list was not checked to be an array. A small payload could set the length the decoder looped over. This part is also tracked in GHSA-wp97-x4hv-qvhp.\n- A sequence node's done index was not checked. A crafted value produced an iterator that never finished.\n\n### Impact\n\nA service that passes untrusted input to `fromJSON` or `fromCrossJSON` can be made unavailable by an unauthenticated request.\n\n- The array case blocks the thread while the decoder runs.\n- The sequence case makes any code that reads the resulting iterator to the end run forever.\n\n### Patches\n\nFixed in `seroval@1.6.8`.\n\n- Element lists must be arrays.\n- A sequence node's throw and done indices must be integers from -1 up to the last element index.\n\nInvalid input throws `SerovalMalformedNodeError`.\n\n### Workarounds\n\nNone. Upgrade to 1.6.8.","status":"published","published":"2026-10-28T21:17:27Z","modified":"2026-10-28T21:17:28Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-835","CWE-1284"],"updated_at":"2026-11-02T14:41:39.926569Z"}],"nvd":[{"id":"CVE-2026-116581","description":"Seroval facilitates JavaScript value stringification, including complex structures beyond JSON.stringify capabilities. Prior to 1.6.8, fromJSON and fromCrossJSON do not validate a sequence node's done index. A crafted done index can create an iterator that never finishes when application code consumes it to completion. An unauthenticated request to a service that deserializes untrusted input can therefore block the event loop, exhaust process memory, or make the service unavailable. This issue is fixed in version 1.6.8.","status":"published","published":"2026-10-26T21:18:15.903Z","modified":"2026-10-31T02:17:33.007Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-835","CWE-1284"],"updated_at":"2026-11-02T14:13:03.746397Z"}],"osv":[{"id":"CVE-2026-116581","title":"Seroval: fromJSON deserializer trusts sequence doneAt (unauthenticated event-loop DoS)","description":"Seroval facilitates JavaScript value stringification, including complex structures beyond JSON.stringify capabilities. Prior to 1.6.8, fromJSON and fromCrossJSON do not validate a sequence node's done index. A crafted done index can create an iterator that never finishes when application code consumes it to completion. An unauthenticated request to a service that deserializes untrusted input can therefore block the event loop, exhaust process memory, or make the service unavailable. This issue is fixed in version 1.6.8.","status":"published","published":"2026-10-26T20:41:52.905Z","modified":"2026-11-01T02:30:44.346951548Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-1284","CWE-835"],"updated_at":"2026-11-02T15:44:56.675758Z"},{"id":"GHSA-97r2-qh9m-474h","title":"Seroval: fromJSON deserializer trusts node-supplied array length and sequence doneAt (unauthenticated event-loop DoS)","description":"### Summary\n\n`fromJSON` and `fromCrossJSON` used two node fields without checking them.\n\n- An array node's element list was not checked to be an array. A small payload could set the length the decoder looped over. This part is also tracked in GHSA-wp97-x4hv-qvhp.\n- A sequence node's done index was not checked. A crafted value produced an iterator that never finished.\n\n### Impact\n\nA service that passes untrusted input to `fromJSON` or `fromCrossJSON` can be made unavailable by an unauthenticated request.\n\n- The array case blocks the thread while the decoder runs.\n- The sequence case makes any code that reads the resulting iterator to the end run forever.\n\n### Patches\n\nFixed in `seroval@1.6.8`.\n\n- Element lists must be arrays.\n- A sequence node's throw and done indices must be integers from -1 up to the last element index.\n\nInvalid input throws `SerovalMalformedNodeError`.\n\n### Workarounds\n\nNone. Upgrade to 1.6.8.","status":"published","published":"2026-10-28T21:17:27Z","modified":"2026-10-28T21:30:06.799577215Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-1284","CWE-835"],"updated_at":"2026-11-02T15:46:43.524801Z"},{"id":"CLSA-2026-1793699098","title":"TuxCare security update for seroval (2 CVEs)","description":"TuxCare rebuilt seroval to address 2 CVEs. Fixed in 1.5.6-tuxcare.4.","status":"published","published":"2026-11-03T10:44:58Z","modified":"2026-11-03T13:30:04.006067471Z","updated_at":"2026-11-03T14:04:50.729288Z"}]}}
