An issue was discovered in Artifex Ghostscript before 9.26. LockSafetyParams is not checked correctly if another device is used. https://nvd.nist.gov/vuln/detail/CVE-2018-19409