CVE-2026-123564
HIGH 8.7CVSS 4.0devalue: Sparse arrays emitted by uneval cause eager allocation when evaluated
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.
- Published
- 8 Nov 2026
- Last modified
- 12 Nov 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-400CWE-770CWE-789
- Also known as
- GHSA-wf3x-273g-mvxv
- Sources
- NVDJSONOSV GHSA-wf3x-273g-mvxvJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | HIGH 8.7 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | devalue | >= 1.0.0, < 5.9.3 | 5.9.3 |
References
- https://github.com/sveltejs/devalue/security/advisories/GHSA-wf3x-273g-mvxv · WEB
- https://www.vulncheck.com/advisories/sveltejs-devalue-before-5.9.3-memory-exhaustion-via-uneval-sparse-arrays
- https://github.com/sveltejs/devalue/commit/6861dbbb7e548849e48bce718e88747a298f7250 · WEB
- https://github.com/sveltejs/devalue · PACKAGE
- https://github.com/sveltejs/devalue/releases/tag/v5.9.3 · WEB
History
- 25 Nov 2026 21:23 UTC · NVD: first stored (published 8 Nov 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 1 Oct 2026)