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

Read the record on cve.org

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.

ProductVersions
devalue sveltejs1.0.0 to before 5.9.3 Affected5.9.3 Not Affected

Weaknesses

  • CWE-770 Allocation of Resources Without Limits or Throttling

References

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.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.