All reports
Medium

Svelte devalue: DoS via malformed input

Affected versions

Affected versions
< 5.9.1
Fixed version
5.9.2
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-81176

Probability of exploitation in the next 30 days: 0.51%

FIRST EPSS · 2026-11-22

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.

Links

Credits

  • Rich-Harris
  • kq5y
  • elliott-with-the-longest-name-on-github