{"id":"GHSA-77vg-94rm-hx3p","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.","aliases":["CVE-2026-42570"],"modified":"2026-06-09T18:45:22.362398877Z","published":"2026-05-14T20:23:47Z","database_specific":{"cwe_ids":["CWE-770"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2026-05-14T20:23:47Z","nvd_published_at":"2026-06-09T17:17:07Z"},"references":[{"type":"WEB","url":"https://github.com/sveltejs/devalue/security/advisories/GHSA-77vg-94rm-hx3p"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42570"},{"type":"WEB","url":"https://github.com/sveltejs/devalue/commit/206ca6712fbc380a4571c59de9ab04b91110792d"},{"type":"PACKAGE","url":"https://github.com/sveltejs/devalue"},{"type":"WEB","url":"https://github.com/sveltejs/devalue/releases/tag/v5.8.1"}],"affected":[{"package":{"name":"devalue","ecosystem":"npm","purl":"pkg:npm/devalue"},"ranges":[{"type":"SEMVER","events":[{"introduced":"5.6.3"},{"fixed":"5.8.1"}]}],"database_specific":{"last_known_affected_version_range":"\u003c= 5.8.0","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-77vg-94rm-hx3p/GHSA-77vg-94rm-hx3p.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}