Sveltejs devalue before 5.9.3 Memory Exhaustion via uneval Sparse Arrays
- State
- Published
- Severity
- 8.7 High
- Published
- Nov 8, 2026
- Updated
- Nov 12, 2026
- Reserved
- Nov 6, 2026
Description
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.
| Product | Versions |
|---|---|
| devalue sveltejs | 1.0.0 to before 5.9.3 Affected5.9.3 Not Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.7 High | VulnCheck | |
| 3.1 | 7.5 High | VulnCheck |
Weaknesses
- CWE-770 Allocation of Resources Without Limits or Throttling
References
- GitHub Security Advisory (GHSA-wf3x-273g-mvxv)Vendor Advisory
- VulnCheck Advisory: Sveltejs devalue before 5.9.3 Memory Exhaustion via uneval Sparse ArraysThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.