braces through 3.0.3 contains a stack overflow vulnerability in the recursive AST walkers that lack depth guards. Attackers can supply deeply nested brace patterns under the character limit to exhaust the call stack and terminate the Node.js process with an uncaught RangeError.
The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.