### [CVE-2018-18651](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-18651) ![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen) ### Description An issue was discovered in Xpdf 4.00. catalog->getNumPages() in AcroForm.cc allows attackers to launch a denial of service (hang caused by large loop) via a specific pdf file, as demonstrated by pdftohtml. This is mainly caused by a large number after the /Count field in the file. ### POC #### Reference - https://forum.xpdfreader.com/viewtopic.php?f=3&t=41219&p=41747#p41747 - https://forum.xpdfreader.com/viewtopic.php?f=3&t=41219&p=41747#p41747 #### Github - https://github.com/0xCyberY/CVE-T4PDF - https://github.com/ARPSyndicate/cvemon