CVE-2026-42570: CWE-770: Allocation of Resources Without Limits or Throttling in sveltejs devalue
A vulnerability in the sveltejs devalue JavaScript library versions 5. 6. 3 up to but not including 5. 8. 1 allows excessive memory allocation when deserializing sparse arrays due to quirks in some JavaScript engines. This can lead to high memory consumption. The issue is fixed in version 5. 8. 1.
AI Analysis
Technical Summary
CVE-2026-42570 describes a resource allocation vulnerability (CWE-770) in the sveltejs devalue library, specifically in the devalue.parse function. Between versions 5.6.3 and before 5.8.1, certain JavaScript engine behaviors could cause the function to allocate significantly more memory than necessary when deserializing sparse arrays. This results in excessive memory consumption, potentially impacting availability. The vulnerability has been addressed in version 5.8.1.
Potential Impact
The vulnerability can cause excessive memory consumption during deserialization of sparse arrays, which may lead to denial of service conditions due to resource exhaustion. There is no impact on confidentiality or integrity reported.
Mitigation Recommendations
Upgrade to sveltejs devalue version 5.8.1 or later, where this issue has been patched. No other mitigation or temporary fixes are indicated.
CVE-2026-42570: CWE-770: Allocation of Resources Without Limits or Throttling in sveltejs devalue
Description
A vulnerability in the sveltejs devalue JavaScript library versions 5. 6. 3 up to but not including 5. 8. 1 allows excessive memory allocation when deserializing sparse arrays due to quirks in some JavaScript engines. This can lead to high memory consumption. The issue is fixed in version 5. 8. 1.
CVSS v3.1
Score 7.5high
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-42570 describes a resource allocation vulnerability (CWE-770) in the sveltejs devalue library, specifically in the devalue.parse function. Between versions 5.6.3 and before 5.8.1, certain JavaScript engine behaviors could cause the function to allocate significantly more memory than necessary when deserializing sparse arrays. This results in excessive memory consumption, potentially impacting availability. The vulnerability has been addressed in version 5.8.1.
Potential Impact
The vulnerability can cause excessive memory consumption during deserialization of sparse arrays, which may lead to denial of service conditions due to resource exhaustion. There is no impact on confidentiality or integrity reported.
Mitigation Recommendations
Upgrade to sveltejs devalue version 5.8.1 or later, where this issue has been patched. No other mitigation or temporary fixes are indicated.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-28T17:26:12.084Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a283e988dd33fbd8553f3e6
Added to database: 6/9/2026, 4:26:00 PM
Last enriched: 6/9/2026, 4:41:54 PM
Last updated: 6/10/2026, 6:18:53 AM
Views: 9
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.