CVE-2026-42570
published high CVSS 3.1 · 7.5Svelte devalue: DoS via sparse array deserialization
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| sveltejs | — | devalue>= 5.6.3, < 5.8.1 | Affected | Not stated | GitHub_M |
| Red Hat Enterprise Linux | 10 | rh-podman-desktop0:1.1.2-1.el10_2 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhtas/rekor-search-ui-rhel9Red Hat Trusted Artifact Signer 1.4 · 1783327185 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rh-podman-desktop.gitRed Hat Build of Podman Desktop | Affected | Not stated | redhat-SADP |
| Red Hat Enterprise Linux | RHEL-10 | rh-podman-desktopsrc | Advisory build | 1.1.2-1.el10_2 | RHSA-2026:57590 |
| Red Hat Enterprise Linux | RHEL-10 | rh-podman-desktopx86_64 | Advisory build | 1.1.2-1.el10_2 | RHSA-2026:57590 |
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.
A flaw was found in devalue, a JavaScript library used for serializing values. Due to quirks in some JavaScript engines, the `devalue.parse` function could be exploited by a remote attacker when deserializing specially crafted sparse arrays. This could lead to excessive memory consumption, resulting in a Denial of Service (DoS) for the affected system.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.5 | high | redhat-SADP · adp | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| sveltejs | devalue | >= 5.6.3, < 5.8.1 (affected) | GitHub_M · cna |
| Red Hat | Red Hat Enterprise Linux 10 | 0:1.1.2-1.el10_2 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Trusted Artifact Signer 1.4 | 1783327185 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Build of Podman Desktop | Default: affected | redhat-SADP · adp |
Weaknesses
2- CWE-770 CWE-770: Allocation of Resources Without Limits or Throttling
- CWE-770 Allocation of Resources Without Limits or Throttling
References
8- https://access.redhat.com/errata/RHSA-2026:37272
- https://access.redhat.com/errata/RHSA-2026:57590
- https://access.redhat.com/security/cve/CVE-2026-42570
- RHBZ#2487050 https://bugzilla.redhat.com/show_bug.cgi?id=2487050
- https://github.com/sveltejs/devalue/commit/206ca6712fbc380a4571c59de9ab04b91110792d
- https://github.com/sveltejs/devalue/releases/tag/v5.8.1
- https://github.com/sveltejs/devalue/security/advisories/GHSA-77vg-94rm-hx3p
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42570.json
Provider assertions
3GitHub_M · cna
Svelte devalue: DoS via sparse array deserialization
redhat-SADP · adp
devalue: devalue: Excessive memory consumption via deserialization of sparse arrays
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1fc7b6fd107ffd0c7fa167cd3ea9839a0542c4f4e43e2d862abeba6e7ebced9f
- Ingested
- 23 Sep 2026, 09:14:19 UTC
- Source record
- Official CVE record