Skip to main content
← All vulnerabilities
CVE-2026-116584GHSA-WP97-X4HV-QVHP

Seroval `fromJSON`/`fromCrossJSON` denial of service via unvalidated array node length

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.6.8
None on Exploit-DB, Metasploit or GitHub

Summary

Seroval, a JavaScript library for serializing values, is affected in versions from 1.4.1 up to (but not including) the fixed release, specifically through its deserialization functions fromJSON and fromCrossJSON. A small crafted input can make the library allocate excessive memory or loop for a long time, which can crash the host process or freeze its thread, and it can be triggered without authentication.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original description

Seroval facilitates JavaScript value stringification, including complex structures beyond JSON.stringify capabilities. From 1.4.1 until 1.6.8, fromJSON and fromCrossJSON do not require an array node's element list to be an actual array. A small crafted payload can supply an attacker-controlled length that determines memory allocation and decoder iterations independently of payload size, allowing an unauthenticated request to exhaust the process or block its thread. This issue is a residual bypass of the remediation for CVE-2026-23957. This issue is fixed in version 1.6.8.

Timeline

  1. CVE published
  2. First seen by cve.now

Affected versions

  • lxsmnsyc seroval

    From 1.4.1 · fixed in 1.6.8

  • serovalnpm

    From 1.4.1 · fixed in 1.6.8

References 3

GitHub · lxsmnsyc/seroval