CVE-2026-22774 Details
Description
Svelte devalue is a JavaScript library that serializes values into strings when JSON.stringify isn't sufficient for the job. From 5.3.0 to 5.6.1, certain inputs can cause devalue.parse to consume excessive CPU time and/or memory, potentially leading to denial of service in systems that parse input from untrusted sources. This affects applications using devalue.parse on externally-supplied data. The root cause is the typed array hydration expecting an ArrayBuffer as input, but not checking the assumption before creating the typed array. This vulnerability is fixed in 5.6.2.
A denial-of-service vulnerability has been identified in the Svelte devalue library, specifically in versions 5.3.0 prior to 5.6.1. The issue arises in the `devalue.parse` function, which can be exploited by certain inputs to consume excessive CPU time and memory. This vulnerability is particularly concerning for applications that parse data from untrusted sources. The root cause lies in the typed array hydration process, which expects an ArrayBuffer as input but fails to validate this assumption before creating the typed array. As a result, specially crafted inputs can lead to disproportionate resource consumption, causing denial-of-service conditions.
Users are advised to upgrade to Svelte devalue version 5.6.2 or later, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 15, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-405 | Asymmetric Resource Consumption (Amplification) | redhat-SADP |
| CWE-405 | Asymmetric Resource Consumption (Amplification) | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| svelte devalue | >= 5.3.0, < 5.6.2 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 15, 2026 | CVE Modified | redhat-SADP |
| Jun 30, 2026 | CVE Modified | redhat-SADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 20, 2026 | Initial Analysis | [email protected] |
| Jan 15, 2026 | New CVE Received | [email protected] |