Quick answers
- Is This vulnerability exploited in the wild?
- No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.
- How severe is This vulnerability?
- Medium severity, with a CVSS score of 4, published 19 February 2026.
- Which products and versions are affected?
- devalue (npm) SEMVER:introduced=0,fixed=5.6.3.
- Is there a fix for This vulnerability?
- Yes. devalue (npm): upgrade to 5.6.3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is This vulnerability attacked?
- It is attacked over the network, in a software library.
- Am I affected?
- Check whether you run devalue (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- devalue (npm): upgrade to 5.6.3 or later
npm install devalue@5.6.3
Technical details
This vulnerability is a denial-of-service (DoS) issue in the sparse array handling of devalue's uneval and stringify functions (CWE-770: Allocation of Resources Without Limits or Throttling). The root cause is inefficient encoding of sparse arrays that can lead to disproportionate CPU and memory consumption during serialization. The attack vector is network-based but has a high complexity bar: an attacker must somehow create a sparse array on the server-side and trigger its serialization through devalue. This is not feasible through standard wire formats (JSON, form data, etc.), making real-world exploitation extremely unlikely. When the conditions are met, an attacker can cause the server to exhaust resources and stop responding. The fix was released in devalue version 5.6.3, which implements better encoding for sparse arrays.
Affected products
- Svelte devalue <=5.6.2
Timeline
- 2026-02-19: disclosed