p PatchFirst

CVE-2026-42570

CVE-2026-42570 · Svelte devalue: DoS via sparse array deserialization

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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 7.5 · High · EPSS 0.4% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • devalue

    Versions
    • >= 5.6.3, < 5.8.1: Affected

    No fix published

  • devalue npm

    Affected ranges
    • SEMVER: ≥ 5.6.3, < 5.8.1

    Update to 5.8.1

Original sources

Check your server →