CVE Catalog

CVE-2026-42570

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.40%

33th percentile - higher than 33% of all known CVEs

Summary

The Svelte devalue JavaScript library versions 5.6.3 through 5.8.0 is vulnerable to excessive memory consumption when deserializing sparse arrays. An attacker can exploit JavaScript engine quirks to force devalue.parse to allocate much more memory than needed.

Risk Assessment

Risk of memory exhaustion on the server or browser, potentially leading to denial of service (DoS) and application disruption.

Recommendation

Upgrade the devalue library to version 5.8.1 or later.

Other vulnerabilities in Svelte devalue

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS