{"id":"CVE-2026-81176","aliases":["CVE-2026-81176","GHSA-9rgm-9g3h-6x36"],"related":[],"kind":"vulnerability","state":"published","title":"Svelte devalue: DoS via malformed input","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\n`devalue.parse` prior to version 5.9.2 fails to reject out-of-bounds indices. Specially-crafted payloads can exploit this to cause devalue to alternate between different array representations, resulting in work that is quadratic with payload size.\n\nApplications are potentially affected if they call `devalue.parse` with untrusted data.\n\n### Patches\n\nThe bug is fixed in `devalue@5.9.2`.","format":"markdown","source":"ghsa"}],"published":"2026-09-16T18:34:34.881Z","modified":"2026-09-30T17:51:56.193Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-770"],"affected":[{"ranges":[{"version":"< 5.9.2","status":"affected"}],"vendor":"sveltejs","product":"devalue","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"5.9.2"}],"ecosystem":"npm","package":"devalue","purl":"pkg:npm/devalue","source":"ghsa"}],"references":[{"url":"https://github.com/sveltejs/devalue/security/advisories/GHSA-9rgm-9g3h-6x36","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/sveltejs/devalue/commit/8b2a4562c446d7c36d9d629778079a5fae4243e1","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/sveltejs/devalue/releases/tag/v5.9.2","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-81176","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/sveltejs/devalue","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-09-17T17:06:24.802Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-81176","url":"https://www.cve.org/CVERecord?id=CVE-2026-81176","licence":"CVE Terms of Use","modified":"2026-09-17T19:25:51.846Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-9rgm-9g3h-6x36","url":"https://github.com/advisories/GHSA-9rgm-9g3h-6x36","licence":"CC-BY-4.0","modified":"2026-09-17T20:45:04.992Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-81176","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-81176","licence":"Public domain","modified":"2026-09-30T17:51:56.193Z"}],"updatedAt":"2026-11-25T22:59:39.099Z","epss":{"score":0.00485,"percentile":0.43418,"date":"2026-12-01T12:00:22.000Z"}}