
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-22774 is a denial-of-service vulnerability in the svelte/devalue JavaScript library, specifically in its devalue.parse function. Certain crafted inputs can cause the parser to consume excessive CPU time and/or memory, potentially crashing or degrading systems that process untrusted data. The vulnerability affects devalue versions 5.3.0 through 5.6.1 (inclusive) and was disclosed on January 15, 2026. It carries a CVSS v3.1 base score of 7.5 (High) (GitHub Advisory).
The root cause is improper input validation (CWE-20) combined with asymmetric resource consumption (CWE-405) in the typed array hydration logic within src/parse.js. When devalue.parse processes a typed array (e.g., Int8Array, Uint8Array, etc.), it expects the referenced value to be an ArrayBuffer, but it did not verify this assumption before attempting to create the typed array — allowing malformed inputs such as [["Int8Array", 1], { "length": 2 }, 1000000000] to trigger disproportionate memory allocation or CPU usage. Additionally, self-referential and mutually-referential typed array inputs could cause circular hydration loops. The fix in commit e46afa6 adds an explicit instanceof ArrayBuffer check before typed array construction, and commit 1175584 adds a guard against circular references in custom revivers and a type check for ArrayBuffer base64 encoding (GitHub Advisory, Patch Commit).
Successful exploitation results in a denial-of-service condition — specifically, excessive memory exhaustion and/or CPU consumption — on any Node.js application that calls devalue.parse on externally-supplied, untrusted data. There is no impact on confidentiality or integrity; the vulnerability is limited to availability. Applications such as SvelteKit server-side rendering pipelines that deserialize client-supplied data are particularly at risk (GitHub Advisory).
No public proof-of-concept exploit code or in-the-wild exploitation has been reported as of the time of disclosure. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The EPSS score is approximately 0.038%, indicating a low probability of near-term exploitation. However, the attack requires no authentication, no user interaction, and is remotely exploitable over the network, making it straightforward to attempt against exposed endpoints (GitHub Advisory, Feedly).
devalue versions 5.3.0–5.6.1 and exposes an endpoint that calls devalue.parse on user-controlled input (e.g., a server-side data hydration endpoint).ArrayBuffer value, such as [["Int8Array", 1], { "length": 2 }, 1000000000], or a self-referential typed array like [["Uint8Array", 0]].devalue.parse.Invalid input, expected ArrayBuffer but got object or Invalid data errors (post-patch) or unhandled exceptions (pre-patch) from devalue.parse.ArrayBuffer values (e.g., JSON arrays starting with ["Int8Array", ...] or ["Uint8Array", ...] pointing to objects or self-references).The vulnerability is fixed in devalue version 5.6.2, released January 15, 2026. Affected users should upgrade immediately by running npm install devalue@5.6.2 or updating their package.json dependency. No configuration-based workaround is available; the only remediation is upgrading to the patched version. Applications that cannot upgrade immediately should avoid passing untrusted external data to devalue.parse until the patch is applied (GitHub Release, GitHub Advisory).
The Svelte project published an official blog post covering CVEs affecting the Svelte ecosystem, including this vulnerability (Svelte Blog). The disclosure received brief discussion on Hacker News. Red Hat tracked the vulnerability via their security advisory system. No significant independent researcher commentary or widespread media coverage has been identified beyond standard vulnerability aggregator coverage.
Fix availability across major Linux distributions and their releases.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."