{"id":"GHSA-33hq-fvwr-56pm","summary":"devalue affected by CPU and memory amplification from sparse arrays","details":"Under certain circumstances, serializing sparse arrays using `uneval` or `stringify` could cause CPU and/or memory exhaustion. When this occurs on the server, it results in a DoS. This is extremely difficult to take advantage of in practice, as an attacker would have to manage to create a sparse array on the server — which is impossible in every mainstream wire format — and then that sparse array would have to be run through `uneval` or `stringify`.","modified":"2026-02-19T21:25:33.179192Z","published":"2026-02-19T20:29:30Z","database_specific":{"github_reviewed_at":"2026-02-19T20:29:30Z","nvd_published_at":null,"cwe_ids":["CWE-770"],"severity":"LOW","github_reviewed":true},"references":[{"type":"WEB","url":"https://github.com/sveltejs/devalue/security/advisories/GHSA-33hq-fvwr-56pm"},{"type":"WEB","url":"https://github.com/sveltejs/devalue/commit/819f1ac7475ab37547645cfb09bf2f678a799cf0"},{"type":"PACKAGE","url":"https://github.com/sveltejs/devalue"},{"type":"WEB","url":"https://github.com/sveltejs/devalue/releases/tag/v5.6.3"}],"affected":[{"package":{"name":"devalue","ecosystem":"npm","purl":"pkg:npm/devalue"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"5.6.3"}]}],"database_specific":{"last_known_affected_version_range":"\u003c= 5.6.2","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/02/GHSA-33hq-fvwr-56pm/GHSA-33hq-fvwr-56pm.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U"}]}