CVE-2026-81176: Svelte devalue: DoS via malformed input
Impact 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. Applications are potentially affected if they call devalue.parse with untrusted data. Patches The bug is fixed in [email protected].
Published Sep 17, 2026
Affected packages
devalue
- Ecosystem
- npm
- Affected
- < 5.9.1
- Fixed in
- 5.9.2
- Check
npm ls devalue
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
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.
Applications are potentially affected if they call devalue.parse with untrusted data.
Patches
The bug is fixed in [email protected].
Credited to Rich-Harris, kq5y, elliott-with-the-longest-name-on-github.
References
- https://github.com/sveltejs/devalue/security/advisories/GHSA-9rgm-9g3h-6x36
- https://nvd.nist.gov/vuln/detail/CVE-2026-81176
- https://github.com/sveltejs/devalue/commit/8b2a4562c446d7c36d9d629778079a5fae4243e1
- https://github.com/sveltejs/devalue/releases/tag/v5.9.2
- https://github.com/advisories/GHSA-9rgm-9g3h-6x36
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More npm vulnerabilities
All npm entriesCVE-2026-92708
devalue: `stringify`/`uneval` serialize shared memory
high7.5Oct 1, 2026GHSA-4q55-j62x-fr9h
devalue: Malformed null-prototype object keys bypass __proto__ rejection via property-key coercion
medium6.3Oct 1, 2026GHSA-hx4r-w6wj-j8fg
devalue: Residual sparse-array CPU amplification in uneval
medium6.3Oct 1, 2026GHSA-mcm9-63f2-9j32
devalue: Repeated primitive strings cause quadratic expansion in uneval
high8.2Oct 1, 2026GHSA-r9w8-h9r3-54w4
devalue: Custom ArrayBuffer revivers can bypass typed-array allocation validation
high8.2Oct 1, 2026GHSA-wf3x-273g-mvxv
devalue: Sparse arrays emitted by uneval cause eager allocation when evaluated
low2.3Oct 1, 2026
