CVE-2026-23957: Seroval affected by Denial of Service via Array serialization
Overriding encoded array lengths by replacing them with an excessively large value causes the deserialization process to significantly increase processing time. Mitigation: Seroval no longer encodes array lengths. Instead, it computes length using Array.prototype.length during deserialization.
Published Jan 21, 2026 · Updated Jan 22, 2026
Affected packages
seroval
- Ecosystem
- npm
- Affected
- <= 1.4.0
- Fixed in
- 1.4.1
- Check
npm ls seroval
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Overriding encoded array lengths by replacing them with an excessively large value causes the deserialization process to significantly increase processing time.
Mitigation: Seroval no longer encodes array lengths. Instead, it computes length using Array.prototype.length during deserialization.
Credited to tweidinger, lxsmnsyc.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More npm vulnerabilities
All npm entriesCVE-2026-116580
Seroval: Deserialization invokes attacker-chosen callables: AsyncIteratorFactoryInstance calls source.on(listener) without type check
high7.3Oct 28, 2026CVE-2026-116581
Seroval: fromJSON deserializer trusts node-supplied array length and sequence doneAt (unauthenticated event-loop DoS)
high7.5Oct 28, 2026CVE-2026-116582
Seroval: Script injection through RegExp sources in serialized output
medium4.7Oct 28, 2026CVE-2026-116583
Seroval: Code injection through a typed array's own constructor property
medium5.3Oct 28, 2026CVE-2026-116584
Seroval `fromJSON`/`fromCrossJSON` denial of service via unvalidated array node length
high7.5Oct 28, 2026CVE-2026-104845
Seroval: Memory exhaustion via unchecked TypedArray length in JSON deserialization
high7.5Oct 5, 2026
