Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. devalue
  4. ›
  5. CVE-2026-42570

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

May 14, 2026 (updated June 9, 2026)

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.

References

  • github.com/advisories/GHSA-77vg-94rm-hx3p
  • github.com/sveltejs/devalue/commit/206ca6712fbc380a4571c59de9ab04b91110792d
  • github.com/sveltejs/devalue/releases/tag/v5.8.1
  • github.com/sveltejs/devalue/security/advisories/GHSA-77vg-94rm-hx3p
  • nvd.nist.gov/vuln/detail/CVE-2026-42570

Code Behaviors & Features

Detect and mitigate CVE-2026-42570 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 5.6.3 before 5.8.1

Fixed versions

  • 5.8.1

Solution

Upgrade to version 5.8.1 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

npm/devalue/CVE-2026-42570.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:22:50 +0000.