psi/zdevice2.c in Artifex Ghostscript before 9.26 allows remote attackers to bypass intended access restrictions because available stack space is not checked when the device remains the same. https://nvd.nist.gov/vuln/detail/CVE-2018-19475