Seroval `fromJSON`/`fromCrossJSON` denial of service via unvalidated array node length
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in seroval 1.6.8.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| lxsmnsyc | >=1.4.1 <1.6.8 | ||
| npm: seroval | >=1.4.1 <=1.6.7 | 1.6.8 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in seroval (npm), strongest first
Embed
A live severity badge for an advisory, README or ticket