An issue exists in Foxit Reader and PhantomPDF prior to 9.7. It allows stack consumption via nested function calls for XML parsing.
foxitsoftware phantompdf
foxitsoftware reader