{"id":"CVE-2026-123564","aliases":["CVE-2026-123564","GHSA-wf3x-273g-mvxv"],"related":[],"kind":"vulnerability","state":"published","title":"Sveltejs devalue before 5.9.3 Memory Exhaustion via uneval Sparse Arrays","summary":"Sveltejs devalue from 1.0.0 before 5.9.3 contains a memory exhaustion flaw in uneval, whose generated code for sparse arrays allocates memory proportional to the array's declared length when evaluated. Attackers who can influence a very large sparse array serialized by an application can exhaust memory in the browser or runtime evaluating the output.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Sveltejs devalue from 1.0.0 before 5.9.3 contains a memory exhaustion flaw in uneval, whose generated code for sparse arrays allocates memory proportional to the array's declared length when evaluated. Attackers who can influence a very large sparse array serialized by an application can exhaust memory in the browser or runtime evaluating the output.","source":"cvelist"},{"lang":"en","text":"Evaluating legitimate `uneval` output for a sparse array can allocate memory proportional to its declared length. A tiny serialized value can therefore cause large memory allocation in a consuming browser/runtime. This occurs during evaluation of generated code, not in default `parse` sparse-array construction.\n\nYou would only be affected by this if you were serializing very large sparse arrays and then evaluating the results. In the general use case for `uneval` of sending data to the client, the worst that could happen is the browser tab running out of memory.","format":"markdown","source":"ghsa"}],"published":"2026-10-01T15:17:13.000Z","modified":"2026-11-12T20:28:31.817Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":8.7,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:N/SI:N/SA:L","rating":"LOW"}],"cwes":["CWE-400","CWE-770","CWE-789"],"affected":[{"ranges":[{"type":"semver","introduced":"1.0.0","fixed":"5.9.3","status":"affected"},{"type":"semver","version":"5.9.3","status":"unaffected"}],"vendor":"sveltejs","product":"devalue","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"1.0.0","status":"affected","fixed":"5.9.3"}],"ecosystem":"npm","package":"devalue","purl":"pkg:npm/devalue","source":"ghsa"}],"references":[{"url":"https://github.com/sveltejs/devalue/security/advisories/GHSA-wf3x-273g-mvxv","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.vulncheck.com/advisories/sveltejs-devalue-before-5.9.3-memory-exhaustion-via-uneval-sparse-arrays","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/sveltejs/devalue/commit/6861dbbb7e548849e48bce718e88747a298f7250","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/sveltejs/devalue","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/sveltejs/devalue/releases/tag/v5.9.3","tags":["web"],"sources":["ghsa"]}],"credits":["elliott-with-the-longest-name-on-github"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-11-12T13:02:04.902Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-123564","url":"https://www.cve.org/CVERecord?id=CVE-2026-123564","licence":"CVE Terms of Use","modified":"2026-11-12T13:02:42.004Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-wf3x-273g-mvxv","url":"https://github.com/advisories/GHSA-wf3x-273g-mvxv","licence":"CC-BY-4.0","modified":"2026-11-08T10:56:08.686Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-123564","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-123564","licence":"Public domain","modified":"2026-11-12T20:28:31.817Z"}],"updatedAt":"2026-11-25T22:59:49.482Z","epss":{"score":0.00419,"percentile":0.38213,"date":"2026-12-01T12:00:22.000Z"}}