Artifex Ghostscript through 2017-04-26 allows -dSAFER bypass and remote command execution via .rsdparams type confusion with a "/OutputFile (%pipe%" substring in a crafted .eps document that is an input to the gs program, as exploited in the wild in April 2017.
https://security.gentoo.org/glsa/201708-06
https://bugzilla.redhat.com/show_bug.cgi?id=1446063
https://bugs.ghostscript.com/show_bug.cgi?id=697808
https://access.redhat.com/errata/RHSA-2017:1230