CVE-2026-42570
JSON

7.5high

Svelte devalue: DoS via sparse array deserialization

Severity
7.5high CVSS:3.1 by GitHub_M
Exploit likelihood
0.55% (higher than 47% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-77vg-94rm-hx3p

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.

Affected

Product or packageVersionsReported by
sveltejs devalue>= 5.6.3, < 5.8.1CVE List
rh-podman-desktopNot specified
Not affected: from 0:1.1.2-1.el10_2 before *
CVE List
rhtas/rekor-search-ui-rhel9Not specified
Not affected: from 1783327185 before *
CVE List
rh-podman-desktop.gitNot specifiedCVE List
devalue (npm)from 5.6.3 before 5.8.1GitHub Advisory Database
svelte devaluefrom 5.6.3 before 5.8.1NVD

All scores

GitHub_M7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
redhat-SADP7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-770

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database

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.

NVD (es)

Svelte devalue es una biblioteca de JavaScript que serializa valores en cadenas cuando JSON.stringify no es suficiente para la tarea. Desde la versión 5.6.3 hasta antes de la versión 5.8.1, devalue.parse podría, debido a peculiaridades en algunos motores de JavaScript, ser inducido a asignar mucha más memoria de la necesaria al deserializar arrays dispersos, lo que lleva a un consumo excesivo de memoria. Este problema ha sido parcheado en la versión 5.8.1.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-42570 changed 2026-08-24CVE Terms of Use
GitHub Advisory DatabaseGHSA-77vg-94rm-hx3p changed 2026-06-09CC-BY-4.0
NVDCVE-2026-42570 changed 2026-08-24Public domain