Live threats

All CVEs / Svelte

CVE-2026-42570Svelte Devalue

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
—
Auth required
No
Published
Jun 9, 2026
Updated
Aug 24, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-770
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Devalue.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm devalue ≥ 5.6.3 < 5.8.1 5.8.1 npm install devalue@5.8.1

Per OSV / GitHub Advisories (GHSA-77vg-94rm-hx3p). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
sveltedevalue≥ 5.6.3 < 5.8.1

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.