CVE-2026-22774: CWE-405: Asymmetric Resource Consumption (Amplification) in sveltejs devalue
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.
AI Analysis
Technical Summary
The sveltejs devalue library versions 5.3.0 to 5.6.1 contain an asymmetric resource consumption vulnerability (CWE-405) in the devalue.parse function. When processing certain crafted inputs, the function can consume excessive CPU time and memory due to the typed array hydration expecting an ArrayBuffer input without validating this assumption. This flaw can be exploited to cause denial of service in systems that parse input from untrusted sources. The vulnerability has a CVSS 3.1 base score of 7.5 (high severity) with network attack vector, low attack complexity, no privileges or user interaction required, and impacts availability only. The issue is resolved in version 5.6.2.
Potential Impact
Exploitation of this vulnerability can lead to denial of service by causing the devalue.parse function to consume excessive CPU and memory resources. This impacts the availability of applications using vulnerable versions of the devalue library when parsing untrusted input. There is no impact on confidentiality or integrity. No known exploits are reported in the wild at this time.
Mitigation Recommendations
An official fix is available in sveltejs devalue version 5.6.2. Users should upgrade to version 5.6.2 or later to remediate this vulnerability. Since this is not a cloud service, remediation requires updating the affected library in the application. Patch status is confirmed by the vendor advisory. No additional mitigations are specified.
CVE-2026-22774: CWE-405: Asymmetric Resource Consumption (Amplification) in sveltejs devalue
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.
CVSS v3.1
Score 7.5high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The sveltejs devalue library versions 5.3.0 to 5.6.1 contain an asymmetric resource consumption vulnerability (CWE-405) in the devalue.parse function. When processing certain crafted inputs, the function can consume excessive CPU time and memory due to the typed array hydration expecting an ArrayBuffer input without validating this assumption. This flaw can be exploited to cause denial of service in systems that parse input from untrusted sources. The vulnerability has a CVSS 3.1 base score of 7.5 (high severity) with network attack vector, low attack complexity, no privileges or user interaction required, and impacts availability only. The issue is resolved in version 5.6.2.
Potential Impact
Exploitation of this vulnerability can lead to denial of service by causing the devalue.parse function to consume excessive CPU and memory resources. This impacts the availability of applications using vulnerable versions of the devalue library when parsing untrusted input. There is no impact on confidentiality or integrity. No known exploits are reported in the wild at this time.
Mitigation Recommendations
An official fix is available in sveltejs devalue version 5.6.2. Users should upgrade to version 5.6.2 or later to remediate this vulnerability. Since this is not a cloud service, remediation requires updating the affected library in the application. Patch status is confirmed by the vendor advisory. No additional mitigations are specified.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-01-09T18:27:19.387Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-22774","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:2926","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:2144","vendor":"Red Hat"}]
Threat ID: 69693b3453752d4047d5286d
Added to database: 01/15/2026, 19:08:36 UTC
Last enriched: 07/15/2026, 08:34:42 UTC
Last updated: 09/10/2026, 19:36:52 UTC
Views: 279
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.