Svelte devalue: DoS via sparse array deserialization
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 2 fixed, 1 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-770.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| sveltejs | devalue | 5.6.3 to before 5.8.1 | 5.8.1 | Patch available | CNA |
| — | devalue (npm) | 5.6.3 to before 5.8.1 | 5.8.1 | Patch available | GHSA-77vg-94rm-hx3p |
- devalue Vendorsveltejs Affected 5.6.3 to before 5.8.1 Fixed in 5.8.1 Patch available CNA
- devalue (npm) Vendor— Affected 5.6.3 to before 5.8.1 Fixed in 5.8.1 Patch available GHSA-77vg-94rm-hx3p
Remediation
- Fix · CNA devalue (sveltejs) Fixed in 5.8.1
- Fix · GHSA-77vg-94rm-hx3p devalue (npm) Fixed in 5.8.1 Advisory →
Red Hat 2 advisories
- RHSA-2026:57590 Released 2026-08-20 · Red Hat rating Importantrh-podman-desktop security, bug fix, and enhancement update
- Red Hat Enterprise Linux Extensions Channel (v. 10) rh-podman-desktop-1.1.2-1.el10_2
- RHSA-2026:37272 Released 2026-07-09 · Red Hat rating ImportantRHTAS 1.4.2 - Red Hat Trusted Artifact Signer Release
- Red Hat Trusted Artifact Signer 1.4 registry.redhat.io/rhtas/certificate-transparency-rhel9, registry.redhat.io/rhtas/fulcio-rhel9, registry.redhat.io/rhtas/rekor-backfill-redis-rhel9 +6
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Build of Podman Desktop | Affected | No fix yet |
| Red Hat Enterprise Linux Extensions Channel (v. 10) | Fixed | RHSA-2026:57590 |
| Red Hat Trusted Artifact Signer 1.4 | Fixed | RHSA-2026:37272 |
Not affected: 1 product
- Red Hat Trusted Artifact Signer 1.4
Timeline
- 2026-10-02 Threatist record created from CVE-2026-42570
- 2026-10-03 Alias added: GHSA-77vg-94rm-hx3p
- 2026-10-25 EPSS moved to the below the 50th percentile
- 2026-10-25 Priority changed: MEDIUM → LOW
References
Advisory 2
More sveltejs Devalue vulnerabilities
- TI-2026-18293 devalue vulnerable to denial of service due to memory/CPU exhaustion in devalue.parse CVSS 3.1HIGH 7.5
- TI-2026-18292 devalue vulnerable to denial of service due to memory exhaustion in devalue.parse CVSS 3.1HIGH 7.5
- TI-2026-23459 devalue has prototype pollution in devalue.parse and devalue.unflatten CVSS 4.0MEDIUM 6.3
Sources
- CVE-2026-42570 · CVE Program
- CVE-2026-42570 · NVD
- FIRST EPSS
- GHSA-77vg-94rm-hx3p · GitHub Advisory Database · CC BY 4.0
- CVE-2026-42570 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences