Vulnerability Description
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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/sveltejs/devalue/commit/8b2a4562c446d7c36d9d629778079a5fae424
- https://github.com/sveltejs/devalue/releases/tag/v5.9.2
- https://github.com/sveltejs/devalue/security/advisories/GHSA-9rgm-9g3h-6x36
FAQ
What is CVE-2026-81176?
CVE-2026-81176 is a vulnerability with a CVSS score of 5.3 (MEDIUM). 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 ar...
How severe is CVE-2026-81176?
CVE-2026-81176 has been rated MEDIUM with a CVSS base score of 5.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-81176?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.