In Apache PDFBox, a carefully crafted PDF file can trigger an infinite loop while loading the file. This issue affects Apache PDFBox version 2.0.23 and prior 2.0.x versions.
Credits
Apache PDFBox would like to thank Chaoyuan Peng for reporting this issue