Description
The devalue package for npm before 5.6.3 can consume excessive CPU and memory when serializing sparse arrays with uneval or stringify. An attacker who manages to get a sparse array created on the server, which mainstream wire formats do not allow, and serialized there can cause a denial of service.
Published: 2026-11-08
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service
Action: Patch
AI Analysis

Impact

The devalue library for npm prior to version 5.6.3 contains a flaw that can trigger a denial of service by consuming excessive CPU and memory when serializing sparse arrays via uneval or stringify. The flaw is a resource exhaustion weakness, classified as CWE‑770. An attacker who manages to create a sparse array on the server and force its serialization can exhaust critical resources, causing the application to become unresponsive or crash.

Affected Systems

SvelteJS's devalue JavaScript library used in npm packages is vulnerable. All installations using devalue earlier than version 5.6.3 are affected. No further version details were supplied beyond the pre‑5.6.3 range.

Risk and Exploitability

The CVSS score is 8.7, indicating a high severity. The EPSS score is not available, and the issue is not listed in the CISA KEV catalog. The vulnerability can be exploited if an attacker can create a sparse array on the server and force serialization via devalue's uneval or stringify. Mainstream wire formats normally reject sparse arrays, so a custom data payload or an application that accepts arbitrary array data from an external source is required. The risk is high when these conditions are met, but the exploitability is constrained by the need for such a crafted input. Since the EPSS score is not available and the issue is not in the KEV catalog, the probability of widespread exploitation remains uncertain.

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 the devalue package to version 5.6.3 or later to eliminate the vulnerability.
  • Ensure that any data passed to devalue's serialization functions is validated and sanitized, preventing sparse arrays from being serialized.
  • Review server-side code that relies on devalue to confirm that no external or untrusted data is supplied for serialization.
  • As an additional precaution, implement application or system resource limits (CPU, memory) to protect against potential denial-of-service attacks.

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 The devalue package for npm before 5.6.3 can consume excessive CPU and memory when serializing sparse arrays with uneval or stringify. An attacker who manages to get a sparse array created on the server, which mainstream wire formats do not allow, and serialized there can cause a denial of service.
Title Devalue before 5.6.3 Denial of Service via Sparse Array Serialization
First Time appeared Svelte
Svelte devalue
Weaknesses CWE-770
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:07.240Z

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

Link: CVE-2026-123569

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

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

Link: CVE-2026-123569

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-08T04:00:12Z

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling