CVE-2026-42570
Description
Svelte devalue is a JavaScript library that serializes values into strings when JSON.stringify isn't sufficient for the job. From version 5.6.3 to before version 5.8.1, 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. This issue has been patched in version 5.8.1.
How to fix
- svelte devalue5.8.1 or later
- devalue5.8.1 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| svelte devalue | 5.6.3 ≤ v < 5.8.1 | 5.8.1 |
| devaluenpm | 5.6.3 ≤ v < 5.8.1 | 5.8.1 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.