Skip to main content
EPSS 0.6%top 54%

CVE-2026-22774: CWE-405: Asymmetric Resource Consumption (Amplification) in sveltejs devalue

0
High
VulnerabilityCVE-2026-22774cvecve-2026-22774cwe-405
Published: 01/15/2026 (01/15/2026, 18:53:21 UTC)
Source: CVE Database V5
Vendor/Project: sveltejs
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected software

devalue
pkg:npm/devalue
Affected versions
>=5.3.0 <=5.6.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/15/2026, 08:34:42 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses