Description
Sveltejs devalue before 5.9.3 contains a denial of service vulnerability that allows attackers to cause CPU amplification by supplying sparse arrays to uneval. Attackers who influence sparse values passed to uneval can force synchronous work proportional to the declared array length, blocking the event loop.
Published: 2026-11-08
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service (CPU amplification via uneval)
Action: Patch Now
AI Analysis

Impact

The vulnerability is a denial of service in the devalue library prior to version 5.9.3, caused by the uneval function processing sparse arrays. By crafting an array with a large declared length but few initialized elements, an attacker can trigger synchronous CPU work proportional to the array length, blocking the JavaScript event loop. This flaw is a resource exhaustion weakness (CWE-400).

Affected Systems

The affected product is SvelteJS’s devalue library, any installation using a version earlier than 5.9.3. This includes all projects that depend on the library without upgrading to the 5.9.3 release or later, in both client‑side and server‑side contexts.

Risk and Exploitability

The CVSS score of 8.7 classifies the issue as high severity. No EPSS score is available, and it is not listed in the CISA KEV catalog, indicating limited public exploitation to date. However the uneval function can be invoked when processing external input, allowing a remote attacker to supply a crafted sparse array that can exhaust CPU resources and block the event loop. The attack is primarily a denial of service, impacting availability without affecting confidentiality or integrity. The vectors are likely remote through exposed endpoints that use devalue on untrusted data, but a local privileged attacker could also trigger the fault if the library is used within a privileged application.

Generated by OpenCVE AI on November 8, 2026 at 02:37 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade SvelteJS devalue to version 5.9.3 or later.
  • Avoid passing untrusted data to the uneval function; sanitize or validate array lengths before calling uneval.
  • If an immediate upgrade is not possible, restrict the use of uneval to trusted data or implement runtime rate limiting to reduce the risk of CPU exhaustion.

Generated by OpenCVE AI on November 8, 2026 at 02:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 08 Nov 2026 01:45:00 +0000

Type Values Removed Values Added
Description Sveltejs devalue before 5.9.3 contains a denial of service vulnerability that allows attackers to cause CPU amplification by supplying sparse arrays to uneval. Attackers who influence sparse values passed to uneval can force synchronous work proportional to the declared array length, blocking the event loop.
Title Devalue before 5.9.3 CPU Amplification Denial of Service via uneval
First Time appeared Svelte
Svelte devalue
Weaknesses CWE-400
CPEs cpe:2.3:a:svelte:devalue:*:*:*:*:*:*:*:*
Vendors & Products Svelte
Svelte devalue
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-11-08T01:38:05.159Z

Reserved: 2026-11-06T00:53:14.312Z

Link: CVE-2026-123566

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-08T02:16:49.197

Modified: 2026-11-08T02:16:49.197

Link: CVE-2026-123566

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-08T04:15:14Z

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption