NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

CVE-2026-42570: Svelte devalue: DoS via sparse array deserialization

highCVSS 3.1 7.5GHSA-77vg-94rm-hx3p

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.

Published May 14, 2026 · Updated Jun 9, 2026

Affected packages

devalue

Ecosystem
npm
Affected
>= 5.6.3, <= 5.8.0
Fixed in
5.8.1
Check
npm ls devalue

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

Credited to elliott-with-the-longest-name-on-github, dummdidumm, kq5y.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More npm vulnerabilities

All npm entries