Skip to main content
← All vulnerabilities
CVE-2026-42570GHSA-77VG-94RM-HX3P

Svelte devalue: DoS via sparse array deserialization

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.8.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • sveltejs devalue

    From 5.6.3 · fixed in 5.8.1

  • devaluenpm

    From 5.6.3 · fixed in 5.8.1

References 3

GitHub · sveltejs/devalue