CVE-2026-42570
Svelte devalue: DoS via sparse array deserialization
7.5
HIGH
CVSS 3.1
EPSS 0.38%
Description
`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.
How to fix CVE-2026-42570
To remediate CVE-2026-42570, upgrade the affected package to a fixed version below.
- npm/devalue—upgrade to 5.8.1 or later
Is CVE-2026-42570 being exploited?
Low — EPSS is 0.4%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- >= 5.6.3, < 5.8.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |