High severity · published Jun 9, 2026
CVE-2026-42570
Svelte devalue: DoS via sparse array deserialization
7.5
CVSS
0.4%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 34% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
DE
devalue · sveltejs
>= 5.6.3, < 5.8.1 · source: vendor, NVD
RH
Red Hat Build of Podman Desktop · Red Hat
All versions, or not specified · source: CISA
RH
Red Hat Enterprise Linux 10 · Red Hat
All versions, or not specified · source: CISA
RH
Red Hat Trusted Artifact Signer 1.4 · Red Hat
All versions, or not specified · source: CISA
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-42570
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-42570
Patch
https://github.com/sveltejs/devalue/commit/206ca6712fbc380a4571c59de9ab04b91110792d
Product
https://github.com/sveltejs/devalue/releases/tag/v5.8.1
Vendor Advisory
https://github.com/sveltejs/devalue/security/advisories/GHSA-77vg-94rm-hx3p
access.redhat.com
https://access.redhat.com/errata/RHSA-2026:37272
access.redhat.com
https://access.redhat.com/errata/RHSA-2026:57590
access.redhat.com
https://access.redhat.com/security/cve/CVE-2026-42570
More from devalue
7.5
CVE-2026-92708
devalue: Cross-request process memory disclosure in devalue when `stringify` / `uneval` serialize Node Buffers
5.3
CVE-2026-81176
Svelte devalue: DoS via malformed input
