{"id":"CVE-2026-22775","published":"2026-01-15T18:59:37Z","modified":"2026-07-15T01:19:19Z","title":"devalue vulnerable to denial of service due to memory/CPU exhaustion in devalue.parse","vendor":"sveltejs","product":"devalue","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00625,"percentile":0.50917,"provenance":"source"},"cwes":[{"id":"CWE-405","name":"Asymmetric Resource Consumption (Amplification)"}],"references":[{"url":"https://github.com/sveltejs/devalue/security/advisories/GHSA-g2pg-6438-jwpf","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/sveltejs/devalue/commit/11755849fa0634ae294a15ec0aef2f43efcad7c4","tags":["x_refsource_MISC"]},{"url":"https://github.com/sveltejs/devalue/releases/tag/v5.6.2","tags":["x_refsource_MISC"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-22775","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2430109","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-22775.json","tags":["x_sadp-csaf-vex"]},{"url":"https://access.redhat.com/errata/RHSA-2026:2926","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:2144","tags":["vendor-advisory","x_refsource_REDHAT"]}],"priority":{"score":15.4,"factors":[{"name":"EPSS percentile","points":10.18},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"sveltejs","affectedVersions":[{"vendor":"sveltejs","product":"devalue","versions":[">= 5.1.0, < 5.6.2"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-01-15T19:22:49.483380Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"devalue","vulnerableRanges":[">=5.1.0, <5.6.2"],"patched":["5.6.2"],"from":["GHSA-g2pg-6438-jwpf"],"provenance":"source"}],"summary":{"text":"An attacker who can supply crafted data to devalue.parse over the network, with no authentication or user interaction required, can trigger resource exhaustion and denial of service in applications that parse externally supplied input with this function.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:29:27Z"},"euvd":{"id":"EUVD-2026-2680","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-sveltejs-devalue-cve-2025-57820","parents":[{"from":"CVE-2025-57820","to":"CVE-2026-22775","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"npm:devalue","fromFixed":"5.3.2","toFixed":"5.6.2","daysApart":142},{"kind":"same-code","provenance":"machine","files":["src/parse.js"],"commits":["https://github.com/sveltejs/devalue/commit/0623a47c9555b639c03ff1baea82951b2d9d1132","https://github.com/sveltejs/devalue/commit/11755849fa0634ae294a15ec0aef2f43efcad7c4"],"basis":"shared function","functions":["unflatten"]}]}],"children":[{"from":"CVE-2026-22775","to":"CVE-2026-42570","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/parse.js"],"commits":["https://github.com/sveltejs/devalue/commit/11755849fa0634ae294a15ec0aef2f43efcad7c4","https://github.com/sveltejs/devalue/commit/206ca6712fbc380a4571c59de9ab04b91110792d"],"basis":"shared function","functions":["unflatten"]}]},{"from":"CVE-2026-22775","to":"CVE-2026-81176","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/parse.js"],"commits":["https://github.com/sveltejs/devalue/commit/11755849fa0634ae294a15ec0aef2f43efcad7c4","https://github.com/sveltejs/devalue/commit/8b2a4562c446d7c36d9d629778079a5fae4243e1"],"basis":"shared function","functions":["unflatten"]}]}],"packageHistory":[{"cve":"CVE-2025-57820","published":"2025-08-26","fixed":"5.3.2","kev":false},{"cve":"CVE-2026-22774","published":"2026-01-15","fixed":"5.6.2","kev":false},{"cve":"CVE-2026-22775","published":"2026-01-15","fixed":"5.6.2","kev":false},{"cve":"CVE-2026-30226","published":"2026-03-11","fixed":"5.6.4","kev":false},{"cve":"CVE-2026-42570","published":"2026-06-09","fixed":"5.8.1","kev":false},{"cve":"CVE-2026-81176","published":"2026-09-16","fixed":"5.9.2","kev":false}],"package":"npm:devalue"}}