{"id":"CVE-2026-81176","published":"2026-09-16T18:34:34Z","modified":"2026-09-17T19:25:51Z","title":"Svelte devalue: DoS via malformed input","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. Prior to 5.9.2, devalue.parse does not reject out-of-bounds indices that are greater than or equal to values.length in src/parse.js. A specially crafted untrusted payload can make the parser alternate between array representations, producing quadratic work as the payload grows and causing denial of service in applications that parse untrusted devalue data. This issue is fixed in version 5.9.2.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00507,"percentile":0.3642,"provenance":"source"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/sveltejs/devalue/security/advisories/GHSA-9rgm-9g3h-6x36","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/sveltejs/devalue/commit/8b2a4562c446d7c36d9d629778079a5fae4243e1","tags":["x_refsource_MISC"]},{"url":"https://github.com/sveltejs/devalue/releases/tag/v5.9.2","tags":["x_refsource_MISC"]}],"priority":{"score":11.0,"factors":[{"name":"EPSS percentile","points":7.28},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"sveltejs","affectedVersions":[{"vendor":"sveltejs","product":"devalue","versions":["< 5.9.2"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-09-17T17:06:24.802418Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"devalue","vulnerableRanges":["<5.9.2"],"patched":["5.9.2"],"from":["GHSA-9rgm-9g3h-6x36"],"provenance":"source"}],"summary":{"text":"The flaw is in the devalue JavaScript library by sveltejs, where devalue.parse fails to reject array indices greater than or equal to values.length in its parser (src/parse.js). An attacker who can supply a specially crafted payload to an application that parses untrusted devalue data, with no authentication or user interaction required over the network, can cause the parser to alternate between array representations and perform quadratic work, resulting in a denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:51:48Z"},"euvd":{"id":"EUVD-2026-80943","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-sveltejs-devalue-cve-2025-57820","parents":[{"from":"CVE-2026-42570","to":"CVE-2026-81176","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"npm:devalue","fromFixed":"5.8.1","toFixed":"5.9.2","daysApart":99},{"kind":"same-code","provenance":"machine","files":["src/parse.js"],"commits":["https://github.com/sveltejs/devalue/commit/206ca6712fbc380a4571c59de9ab04b91110792d","https://github.com/sveltejs/devalue/commit/8b2a4562c446d7c36d9d629778079a5fae4243e1"],"basis":"shared function","functions":["unflatten"]}]},{"from":"CVE-2025-57820","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/0623a47c9555b639c03ff1baea82951b2d9d1132","https://github.com/sveltejs/devalue/commit/8b2a4562c446d7c36d9d629778079a5fae4243e1"],"basis":"shared function","functions":["unflatten"]}]},{"from":"CVE-2026-22774","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/e46afa64dd2b25aa35fb905ba5d20cea63aabbf7","https://github.com/sveltejs/devalue/commit/11755849fa0634ae294a15ec0aef2f43efcad7c4","https://github.com/sveltejs/devalue/commit/8b2a4562c446d7c36d9d629778079a5fae4243e1"],"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-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},{"cve":"CVE-2026-92708","published":"2026-09-18","fixed":"5.9.3","kev":false,"link":{"from":"CVE-2026-81176","to":"CVE-2026-92708","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:devalue","fromFixed":"5.9.2","toFixed":"5.9.3","daysApart":2}]}}],"package":"npm:devalue"}}