Description
devalue.parse could, due to quirks in some JavaScript engines, be convinced to allocate much more memory than was needed when deserializing sparse arrays, leading to excessive memory consumption.
Recommendation
Update the devalue package to the latest compatible version. Followings are version details:
- Affected version(s): >= 5.6.3, <= 5.8.0
- Patched version(s): 5.8.1
References
Could your website be exposed too?
SmartScanner can check your website for Svelte devalue: DoS via sparse array deserialization and gives you actionable findings to investigate.
Start a free scanRelated Issues
- Svelte devalue: DoS via malformed input - CVE-2026-81176
- jsPDF Vulnerable to Denial of Service (DoS) via Unvalidated BMP Dimensions in BMPDecoder - CVE-2026-24133
- Seroval `fromJSON`/`fromCrossJSON` denial of service via unvalidated array node length - CVE-2026-116584
- Seroval: fromJSON deserializer trusts node-supplied array length and sequence doneAt (unauthenticated event-loop DoS) - CVE-2026-116581


