Skip to main content
← All vulnerabilities
CVE-2026-22775GHSA-G2PG-6438-JWPF

devalue vulnerable to denial of service due to memory/CPU 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.1.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 ArrayBuffer hydration expecting base64 encoded strings as input, but not checking the assumption before decoding the input. 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.1.0 · fixed in 5.6.2

  • devaluenpm

    From 5.1.0 · fixed in 5.6.2

References 3

GitHub · sveltejs/devalue