Skip to content
OpenAdvisories
High · 7.5 CVE-2026-42570 EUVD-2026-35500GHSA-77vg-94rm-hx3p

Svelte devalue: DoS via sparse array deserialization

Published Jun 9, 2026 · Updated Aug 24, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
sveltejs devalue >= 5.6.3, < 5.8.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
RHEL 10 rh-podman-desktop 1.1.2-1.el10_2 RHSA-2026:57590

Affected packages

EcosystemPackageAffectedFixedRecord
npm devalue >= 5.6.3, < 5.8.1 5.8.1 GHSA-77vg-94rm-hx3p

Advisories 1

References