7.5High

CVE-2026-123569Devalue before 5.6.3 Denial of Service via Sparse Array Serialization

sveltejs devalue Published: (8 days ago)

Description

The devalue package for npm before 5.6.3 can consume excessive CPU and memory when serializing sparse arrays with uneval or stringify. An attacker who manages to get a sparse array created on the server, which mainstream wire formats do not allow, and serialized there can cause a denial of service.

Weakness (CWE): CWE-770

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
svelte devalue < 5.6.3
sveltejs devalue < 5.6.3, fixed 5.6.3

References and patches