Skip to main content
← All vulnerabilities
CVE-2026-22774GHSA-VW5P-8CQ8-M7MV

devalue vulnerable to denial of service due to memory exhaustion in devalue.parse

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.6.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • sveltejs devalue

    From 5.3.0 · fixed in 5.6.2

  • devaluenpm

    From 5.3.0 · fixed in 5.6.2

References 3

GitHub · sveltejs/devalue