Svelte devalue 5.6.3-5.8.1: Deparse Sparse Arrays -> OOM (JS)
CVE-2026-42570 Published on June 9, 2026

Svelte devalue: DoS via sparse array deserialization
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.

NVD

Vulnerability Analysis

CVE-2026-42570 is exploitable with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality and integrity, and a high impact on availability.

Attack Vector:
NETWORK
Attack Complexity:
LOW
Privileges Required:
NONE
User Interaction:
NONE
Scope:
UNCHANGED
Confidentiality Impact:
NONE
Integrity Impact:
NONE
Availability Impact:
HIGH

Weakness Type

Allocation of Resources Without Limits or Throttling

The software allocates a reusable resource or group of resources on behalf of an actor without imposing any restrictions on the size or number of resources that can be allocated, in violation of the intended security policy for that actor.


Products Associated with CVE-2026-42570

stack.watch emails you whenever new vulnerabilities are published in Red Hat Podman Desktop or Red Hat Trusted Artifact Signer. Just hit a watch button to start following.

 
 

Affected Versions

sveltejs devalue: Red Hat Build of Podman Desktop: Red Hat Trusted Artifact Signer:

Exploit Probability

EPSS
0.35%
Percentile
26.31%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.