7.5High

CVE-2026-42570Svelte devalue: DoS via sparse array deserialization

sveltejs devalue; Red Hat Red Hat Enterprise Linux 10; Red Hat Red Hat Trusted Artifact Signer 1.4; Red Hat Red Hat Build of Podman Desktop Published: (5 months ago)

Description

Svelte devalue is a JavaScript library that serializes values into strings when JSON.stringify isn't sufficient for the job. From version 5.6.3 to before version 5.8.1, devalue.parse could, due to quirks in some JavaScript engines, be convinced to allocate much more memory than was needed when deserializing sparse arrays, leading to excessive memory consumption. This issue has been patched in version 5.8.1.

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
Red Hat Red Hat Build of Podman Desktop all versions
Red Hat Red Hat Enterprise Linux 10 all versions
Red Hat Red Hat Trusted Artifact Signer 1.4 all versions
svelte devalue 5.6.3 – < 5.8.1
sveltejs devalue >= 5.6.3, < 5.8.1
trusted artifact signer 1.4 —

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:svelte:devalue:*:*:*:*:*:node.js:*:* ≥ 5.6.3 < 5.8.1