Seroval
Seroval `fromJSON`/`fromCrossJSON` denial of service via unvalidated array node length
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 1.4.1, < 1.6.8
Fixed in 1.6.8
Mitigation
Upgrade seroval to 1.6.8 or later.
References
- Vendor advisory github.com/lxsmnsyc/seroval/security/advisorie…
- Patch github.com/lxsmnsyc/seroval/commit/cdcee3e3bc3…
- Release notes github.com/lxsmnsyc/seroval/releases/tag/serov…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.