CVE-2026-116581

Seroval: fromJSON deserializer trusts sequence doneAt (unauthenticated event-loop DoS)

Published Oct 26, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

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.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Seroval to version 1.6.8 or later, which validates the sequence done index.
  • Restrict the use of fromJSON and fromCrossJSON to trusted data; do not deserialize user‑supplied payloads without validation.
  • Implement rate limiting or memory‑quota controls for services that use Seroval to mitigate the impact of a potential DoS attack.

Generated by OpenCVE AI on October 26, 2026 at 23:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-97r2-qh9m-474h Seroval: fromJSON deserializer trusts node-supplied array length and sequence doneAt (unauthenticated event-loop DoS)
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Lxsmnsyc
Lxsmnsyc seroval
Vendors & Products Lxsmnsyc
Lxsmnsyc seroval
Type Values Removed Values Added
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.
Title Seroval: fromJSON deserializer trusts sequence doneAt (unauthenticated event-loop DoS)
Weaknesses CWE-1284
CWE-835
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Weaknesses
  • CWE-1284

    Improper Validation of Specified Quantity in Input

  • CWE-835

    Loop with Unreachable Exit Condition ('Infinite Loop')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 31, 2026, 1:49 AM
Reserved
Oct 26, 2026, 3:03 PM
Status
Deferred
Published
Oct 26, 2026, 9:18 PM
Modified
Oct 31, 2026, 2:17 AM
Severity
Important
Public date
Oct 26, 2026, 8:41 PM