cpdf through 2.8 allows stack consumption via a crafted PDF document.
Weakness
The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.
Potential Mitigations
References