Description
In simple words, some programs that use _.flatten or _.isEqual could be made to crash. Someone who wants to do harm may be able to do this on purpose. This can only be done if the program has special properties. It only works in Underscore versions up to 1.13.7. A more detailed explanation follows.
In affected versions of Underscore, the _.flatten and _.isEqual functions use recursion without a depth limit.
Recommendation
Update the underscore package to the latest compatible version. Followings are version details:
- Affected version(s): <= 1.13.7
- Patched version(s): 1.13.8
References
Could your website be exposed too?
SmartScanner can check your website for Underscore has unlimited recursion in _.flatten and _.isEqual, potential for DoS attack and gives you actionable findings to investigate.
Start a free scanRelated Issues
- @sveltejs/kit has memory amplification DoS vulnerability in Remote Functions binary form deserializer (application/x-sve - CVE-2026-22803
- Qwik City has array method pollution in FormData processing allows type confusion and DoS - CVE-2026-32701
- Axios: unbounded recursion in toFormData causes DoS via deeply nested request data - CVE-2026-42039
- flatted vulnerable to unbounded recursion DoS in parse() revive phase - CVE-2026-32141


