Skip to content
CVE PROGRAM SOURCE RECORD8.7 High

CVE-2026-123564

Sveltejs devalue before 5.9.3 Memory Exhaustion via uneval Sparse Arrays

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

sveltejs devalue

Default version status: unaffected

  • 1.0.0 to < 5.9.3affected
  • 5.9.3unaffected
pkg:npm/devalue

References