An issue exists in Foxit Reader and PhantomPDF prior to 9.7.1. It allows stack consumption via a loop of an indirect object reference.
foxitsoftware phantompdf
foxitsoftware reader