### [CVE-2017-9835](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-9835) ![](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 The gs_alloc_ref_array function in psi/ialloc.c in Artifex Ghostscript 9.21 allows remote attackers to cause a denial of service (heap-based buffer overflow and application crash) or possibly have unspecified other impact via a crafted PostScript document. This is related to a lack of an integer overflow check in base/gsalloc.c. ### POC #### Reference - https://bugs.ghostscript.com/show_bug.cgi?id=697985 #### Github No PoCs found on GitHub currently.