Technical impact
Seroval is a library that converts JavaScript values to string representations and back; its fromJSON and fromCrossJSON functions can parse untrusted data. The vulnerability arises because the library does not validate the "done" index of a sequence node. A crafted sequence can create an iterator that never signals completion, causing application code that consumes the iterator to block indefinitely. This stalls the Node.js event loop, may exhaust memory, and ultimately makes the service unavailable. The flaw involves improper input validation (CWE‑1284) and the creation of uncontrolled loops (CWE‑835).
Affected Systems
Any Node.js application that includes Seroval before version 1.6.8 and uses its fromJSON or fromCrossJSON deserialization functions is affected. The product is named Seroval, developed by lxsmnsyc.
Risk and Exploitability
The CVSS score of 7.5 indicates high severity; the EPSS score is not available, so the current exploit probability cannot be quantified. The vulnerability is not listed in CISA’s KEV catalog. An attacker only needs to inject malicious payload into an endpoint that deserializes user input; no authentication is required. Successful exploitation will lock the event loop and cause service downtime until a restart or resource exhaustion occurs.
Github GHSA