CVE-2026-81176
Svelte devalue: DoS via malformed input
Description
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 devalue@5.9.2.
Affected Maven artifacts (2)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.mvnpm » devaluevia npm devalue | < 5.9.2 | 5.9.2 |
| org.webjars.npm » devaluevia npm devalue | < 5.9.2 | 5.9.2 |
Blast radius
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
Other ecosystems
Also affects npm (1 package) . See all on OSV
References
| Advisory | NVD CVE-2026-81176 | nvd.nist.gov |
| Package | sveltejs/devalue | github.com |
| Web | sveltejs/devalue advisory GHSA-9rgm-9g3h-6x36 | github.com |
| Web | sveltejs/devalue commit 8b2a456 | github.com |
| Web | sveltejs/devalue release v5.9.2 | github.com |
