An issue was discovered in Artifex Ghostscript before 9.26. LockSafetyParams is not checked correctly if another device is used.
https://access.redhat.com/errata/RHSA-2018:3834
https://lists.debian.org/debian-lts-announce/2018/11/msg00036.html
https://security.gentoo.org/glsa/201811-12