Advisory

GHSA-77vg-94rm-hx3p

Also known as: CVE-2026-42570

Summary

Svelte devalue: DoS via sparse array deserialization

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-05-14 20:23 UTC
Modified
2026-06-09 18:45 UTC

Affected packages and fixes

devalue

npm · All systems

Affected

  • introduced 5.6.3, fixed 5.8.1 (semver)

Fixed versions

5.8.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences