The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.
Best practices to prevent this CWE
Phase: Implementation
Ensure an end condition will be reached under all logic conditions. The end condition may include testing against the depth of recursion and exiting with an error if the recursion goes too deep. The complexity of the end condition contributes to the effectiveness of this action.