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.
References
| Link | Resource |
|---|---|
| https://github.com/sveltejs/devalue/commit/206ca6712fbc380a4571c59de9ab04b91110792d | Patch |
| https://github.com/sveltejs/devalue/releases/tag/v5.8.1 | Product Release Notes |
| https://github.com/sveltejs/devalue/security/advisories/GHSA-77vg-94rm-hx3p | Vendor Advisory |
Configurations
History
11 Jun 2026, 18:52
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:a:svelte:devalue:*:*:*:*:*:node.js:*:* | |
| First Time |
Svelte devalue
Svelte |
|
| References | () https://github.com/sveltejs/devalue/commit/206ca6712fbc380a4571c59de9ab04b91110792d - Patch | |
| References | () https://github.com/sveltejs/devalue/releases/tag/v5.8.1 - Product, Release Notes | |
| References | () https://github.com/sveltejs/devalue/security/advisories/GHSA-77vg-94rm-hx3p - Vendor Advisory |
09 Jun 2026, 17:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-06-09 17:17
Updated : 2026-06-11 18:52
NVD link : CVE-2026-42570
Mitre link : CVE-2026-42570
CVE.ORG link : CVE-2026-42570
JSON object : View
Products Affected
svelte
- devalue
CWE
CWE-770
Allocation of Resources Without Limits or Throttling
