Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-22774

CVE-2026-22774: Svelte Devalue DOS Vulnerability

CVE-2026-22774 is a denial of service flaw in Svelte Devalue that causes excessive CPU and memory consumption when parsing untrusted input. This article covers technical details, affected versions, impact, and mitigation.

Published: January 23, 2026

CVE-2026-22774 Overview

CVE-2026-22774 is a Denial of Service vulnerability affecting Svelte devalue, a JavaScript library that serializes values into strings when JSON.stringify isn't sufficient for the job. From versions 5.3.0 to 5.6.1, certain malicious 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.

Critical Impact

Applications using devalue.parse on externally-supplied data are vulnerable to resource exhaustion attacks that can render services unavailable.

Affected Products

  • Svelte devalue versions 5.3.0 through 5.6.1

Discovery Timeline

  • 2026-01-15 - CVE CVE-2026-22774 published to NVD
  • 2026-01-20 - Last updated in NVD database

Technical Details for CVE-2026-22774

Vulnerability Analysis

This vulnerability is classified under CWE-405 (Asymmetric Resource Consumption). The flaw exists in the typed array hydration mechanism within the devalue.parse function. When processing serialized data, the library expects an ArrayBuffer as input for typed array reconstruction but fails to validate this assumption before creating the typed array. An attacker can exploit this by providing specially crafted input that triggers excessive memory allocation or CPU-intensive operations during the parsing process.

The vulnerability is network-accessible, requires no user interaction, and can be exploited without authentication. This makes it particularly dangerous for server-side applications that process untrusted client input through the devalue library.

Root Cause

The root cause is a missing input validation check in the typed array hydration code path. The hydrate function processes the input value without verifying that the result is actually an ArrayBuffer before passing it to the typed array constructor. When non-ArrayBuffer data is provided, the typed array constructor may exhibit undefined behavior, including resource exhaustion through excessive memory allocation or CPU consumption.

Attack Vector

An attacker can exploit this vulnerability by sending maliciously crafted serialized data to an endpoint that uses devalue.parse. The attack requires network access to the vulnerable application and can be executed remotely without any privileges or user interaction. The exploitation could cause:

  1. CPU exhaustion through computationally expensive operations
  2. Memory exhaustion through excessive allocations
  3. Complete service unavailability (Denial of Service)

The following patch demonstrates the fix applied in version 5.6.2:

javascript
 				case 'BigInt64Array':
 				case 'BigUint64Array': {
 					const TypedArrayConstructor = globalThis[type];
-					const typedArray = new TypedArrayConstructor(hydrate(value[1]));
+					const buffer = hydrate(value[1]);
+					if (!(buffer instanceof ArrayBuffer)) {
+						throw new Error(`Invalid input, expected ArrayBuffer but got ${typeof buffer}`);
+					}
+					const typedArray = new TypedArrayConstructor(buffer);

 					hydrated[index] =
 						value[2] !== undefined

Source: GitHub Commit e46afa6

Detection Methods for CVE-2026-22774

Indicators of Compromise

  • Abnormal memory consumption spikes in Node.js processes utilizing the devalue library
  • Elevated CPU usage during parsing operations without corresponding legitimate workload
  • Application crashes or timeouts when processing incoming serialized data
  • Error logs showing memory allocation failures or out-of-memory conditions

Detection Strategies

  • Monitor application resource consumption for anomalies in memory and CPU usage patterns
  • Implement rate limiting on endpoints that process serialized input through devalue
  • Set up alerting for Node.js process crashes or restarts related to resource exhaustion
  • Audit package dependencies to identify vulnerable devalue versions (5.3.0 - 5.6.1)

Monitoring Recommendations

  • Deploy application performance monitoring (APM) to track resource usage on endpoints consuming devalue parsing
  • Configure process-level monitoring for Node.js applications with thresholds for memory and CPU
  • Implement request timeouts to prevent long-running parse operations from blocking resources
  • Enable verbose logging around devalue parsing operations for forensic analysis

How to Mitigate CVE-2026-22774

Immediate Actions Required

  • Upgrade Svelte devalue to version 5.6.2 or later immediately
  • Identify all applications and services using devalue for parsing untrusted input
  • Implement input validation before passing data to devalue.parse
  • Consider deploying resource limits (memory and CPU) for affected applications

Patch Information

The vulnerability is fixed in Svelte devalue version 5.6.2. The patch adds proper type checking to ensure the hydrated value is an ArrayBuffer before passing it to typed array constructors. Organizations should update their dependencies immediately:

  • Fixed Version:5.6.2
  • Security Advisory:GHSA-vw5p-8cq8-m7mv
  • Release Notes:GitHub Release v5.6.2
  • Patch Commit:e46afa64dd2b25aa35fb905ba5d20cea63aabbf7

Workarounds

  • Validate and sanitize all input before passing to devalue.parse in untrusted contexts
  • Implement resource limits using Node.js --max-old-space-size flag to constrain memory usage
  • Use process managers with automatic restart capabilities to recover from resource exhaustion
  • Consider wrapping devalue parsing in try-catch blocks with timeouts
bash
# Configuration example - Set Node.js memory limits and implement process management
# Limit Node.js heap size to 512MB
node --max-old-space-size=512 your-application.js

# Using PM2 for process management with memory limits
pm2 start your-application.js --max-memory-restart 512M

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechSvelte Devalue

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.05%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-405
  • Technical References
  • GitHub Release v5.6.2
  • Vendor Resources
  • GitHub Commit Update

  • GitHub Security Advisory GHSA-vw5p-8cq8-m7mv
  • Related CVEs
  • CVE-2026-22775: Svelte Devalue DOS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English