Description
Sveltejs devalue before 5.9.3 contains a resource exhaustion vulnerability where repeated primitive strings cause quadratic expansion in the uneval function. Attackers can supply a small crafted payload that is parsed and then passed to uneval, producing a very large serialized string that exhausts memory or CPU.
Published: 2026-11-08
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service via resource exhaustion
Action: Patch
AI Analysis

Impact

Sveltejs devalue versions prior to 5.9.3 include a resource exhaustion flaw. A crafted payload consisting of repeated primitive strings causes the uneval function to expand into a disproportionately large serialized string. The resulting expansion can consume excessive memory or CPU, potentially bringing affected applications or services to a halt.

Affected Systems

The vulnerability affects the sveltejs devalue library when its version is older than 5.9.3. Any application that imports devalue and utilizes uneval on untrusted input may be impacted. Affected are projects built with sveltejs/devalue in their dependency tree until the patched release.

Risk and Exploitability

The CVSS v3 score of 8.7 indicates a high severity risk. EPSS information is not available, and the flaw is not listed in the CISA KEV catalog, meaning no publicly confirmed exploit activity is known. Attackers can deliver a small crafted payload, trigger uneval, and cause the application to exhaust resources. The attack vector is local or remote depending on how uneval is exposed, but the primary threat is to availability rather than confidentiality or integrity.

Generated by OpenCVE AI on November 8, 2026 at 03:07 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the devalue library to version 5.9.3 or later
  • Restrict the use of uneval on untrusted input, applying strict validation or safe encoding when necessary
  • Implement resource monitoring and enforce memory or CPU limits to mitigate potential exploitation

Generated by OpenCVE AI on November 8, 2026 at 03:07 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 resource exhaustion vulnerability where repeated primitive strings cause quadratic expansion in the uneval function. Attackers can supply a small crafted payload that is parsed and then passed to uneval, producing a very large serialized string that exhausts memory or CPU.
Title Devalue before 5.9.3 Quadratic Expansion 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:04.469Z

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

Link: CVE-2026-123565

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

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

Link: CVE-2026-123565

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

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

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption