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

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.55%, higher than 47% of CVEs (2026-12-01)
- Published: 2026-05-14T20:23:47.000Z
- Modified: 2026-08-24T13:18:44.640Z
- Also known as: GHSA-77vg-94rm-hx3p
- Weaknesses: CWE-770
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- sveltejs devalue: >= 5.6.3, < 5.8.1
- rh-podman-desktop: no versions given (not affected: from 0:1.1.2-1.el10_2 before *)
- rhtas/rekor-search-ui-rhel9: no versions given (not affected: from 1783327185 before *)
- rh-podman-desktop.git: no versions given
- devalue (npm): from 5.6.3 before 5.8.1
- svelte devalue: from 5.6.3 before 5.8.1

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- redhat-SADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/sveltejs/devalue/security/advisories/GHSA-77vg-94rm-hx3p> (vendor-advisory, web)
- <https://github.com/sveltejs/devalue/commit/206ca6712fbc380a4571c59de9ab04b91110792d> (patch, web)
- <https://github.com/sveltejs/devalue/releases/tag/v5.8.1> (product, release-notes, web)
- <https://access.redhat.com/security/cve/CVE-2026-42570> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2487050> (issue-tracking)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42570.json>
- <https://access.redhat.com/errata/RHSA-2026:57590> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:37272> (vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-42570> (advisory)
- <https://github.com/sveltejs/devalue> (package)

## Sources

- CVE List: [CVE-2026-42570](https://www.cve.org/CVERecord?id=CVE-2026-42570), CVE Terms of Use, modified 2026-08-24
- GitHub Advisory Database: [GHSA-77vg-94rm-hx3p](https://github.com/advisories/GHSA-77vg-94rm-hx3p), CC-BY-4.0, modified 2026-06-09
- NVD: [CVE-2026-42570](https://nvd.nist.gov/vuln/detail/CVE-2026-42570), Public domain, modified 2026-08-24

---

Page: https://cve.day/CVE-2026-42570 · Whole record: https://cve.day/CVE-2026-42570.json · Rebuilt by cve.day 2026-11-25T22:59:24.131Z
