CVE-2026-42570

High

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductSvelte Devalue
PublishedJun 9, 2026
First seenJun 9, 2026

How to fix

Update
  • svelte devalue5.8.1 or later
  • devalue5.8.1 or later

Affected products

ProductAffected versionsFixed in
svelte devalue5.6.3 ≤ v < 5.8.15.8.1
devaluenpm5.6.3 ≤ v < 5.8.15.8.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.