CVE 7.5 HIGH

Svelte devalue: DoS via sparse array deserialization_CVE-2026-42570

7.5 / 10
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

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.

Basic Information

ID CVE-2026-42570
Source GitHub_M
Published Jun 9, 2026 at 16:12

Affected Product

Vendor sveltejs
Product devalue
Version >= 5.6.3, < 5.8.1
Affected Versions sveltejs devalue >= 5.6.3, < 5.8.1

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.