Artifex Ghostscript before 9.25 allowed a user-writable error exception table, which could be used by remote attackers able to supply crafted PostScript to potentially overwrite or replace error handlers to inject code.
https://access.redhat.com/errata/RHSA-2018:3834
https://lists.debian.org/debian-lts-announce/2018/09/msg00038.html