{"id":"GHSA-wf3x-273g-mvxv","revision":"1d2662453397472cbc99a9a8498443f3","records":[{"revision":"1d2662453397472cbc99a9a8498443f3","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-wf3x-273g-mvxv","aliases":[],"title":"devalue: Sparse arrays emitted by uneval cause eager allocation when evaluated","description":"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.","state":0,"publishedAt":"2026-10-01T15:17:13+00:00","modifiedAt":"2026-10-01T15:30:13.2800475+00:00","affected":[{"ecosystem":"npm","name":"devalue","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"1.0.0"},{"kind":"fixed","version":"5.9.3"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","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","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"LOW"}],"references":["https://github.com/sveltejs/devalue/security/advisories/GHSA-wf3x-273g-mvxv","https://github.com/sveltejs/devalue/commit/6861dbbb7e548849e48bce718e88747a298f7250","https://github.com/sveltejs/devalue","https://github.com/sveltejs/devalue/releases/tag/v5.9.3"],"sourceUrl":"https://github.com/advisories/GHSA-wf3x-273g-mvxv","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-wf3x-273g-mvxv","identifiers":["GHSA-wf3x-273g-mvxv"]},"retained":false,"historicalAffected":[]}],"coverage":[]}