Vulnerabilities/

devalue affected by CPU and memory amplification from sparse arrays

Severity:
Low

Description

Under certain circumstances, serializing sparse arrays using uneval or stringify could cause CPU and/or memory exhaustion. When this occurs on the server, it results in a DoS.

Recommendation

Update the devalue package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
devalue
Anything's wrong? Let us know Last updated on February 19, 2026