devalue vulnerable to denial of service due to memory/CPU exhaustion in devalue.parse
CVE-2026-22775Published 15 Jan 2026, 18:59 UTC
Real-world risk
3.4/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
7.5
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_M)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| devalueNiche | >= 5.1.0, < 5.6.2 | 5.6.2 |
What to do
Update to a fixed version: 5.6.2.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Denial of serviceCrash or resource exhaustion only | From the CVSS vector | 0.40 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.6% chance of exploitation in 30 days (percentile 51), as of 2026-12-06.
The arithmetic
- Prerequisites multiplied together1.000
- Threat T1: Nothing known0.850
- 10 × impact 0.4 × prerequisites 1 × threat 0.853.400
- Rounded to one decimal between 0.1 and 103.4
Exploitation and evidence timeline
- 15 Jan 2026 Published
- 3 Dec 2026 Risk 3.4 (cvss fallback)
Weakness
CWE-405
References
- https://github.com/sveltejs/devalue/security/advisories/GHSA-g2pg-6438-jwpfvendor-advisory
- https://github.com/sveltejs/devalue/commit/11755849fa0634ae294a15ec0aef2f43efcad7c4misc
- https://github.com/sveltejs/devalue/releases/tag/v5.6.2misc
- https://access.redhat.com/security/cve/CVE-2026-22775redhat, vdb-entry
- https://bugzilla.redhat.com/show_bug.cgi?id=2430109issue-tracking, redhat
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-22775.jsonx-sadp-csaf-vex
- https://access.redhat.com/errata/RHSA-2026:2926redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:2144redhat, vendor-advisory
- CVE-2026-22775 on CVE.org