Skip to content

CVE-2026-123564 Sveltejs devalue before 5.9.3 Memory Exhaustion via uneval Sparse Arrays

HighCVSS 8.7 EPSS 0.34%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
npm devalue >= 1.0.0, < 5.9.3 5.9.3 Fixed
npm devalue(npm) >= 1.0.0, < 5.9.3 5.9.3 Fixed

Affected products

ProductAffected versionsFixed in
npm devalue >= 1.0.0, < 5.9.3 5.9.3
npm devalue(npm) >= 1.0.0, < 5.9.3 5.9.3

References