Skip to content
OpenAdvisories
High · 7.5 CVE-2026-123564 EUVD-2026-119449GHSA-97c7-3pc7-pw7rGHSA-wf3x-273g-mvxv

Sveltejs devalue before 5.9.3 Memory Exhaustion via uneval Sparse Arrays

Published Nov 8, 2026 · Updated Nov 12, 2026 · Assigned by VulnCheck

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

VendorProductAffectedFixed
sveltejs devalue 1.0.0 – < 5.9.3 5.9.3

Affected packages

EcosystemPackageAffectedFixedRecord
npm devalue >= 1.0.0, < 5.9.3 5.9.3 GHSA-wf3x-273g-mvxv

References