A flaw was found in all versions of ghostscript 9.x before 9.50, where the `.charkeys` procedure, where it did not properly secure its privileged calls, enabling scripts to bypass `-dSAFER` restrictions. An attacker could abuse this flaw by creating a specially crafted PostScript file that could escalate privileges within the Ghostscript and access files outside of restricted areas or execute commands.
https://seclists.org/bugtraq/2019/Nov/27
https://git.ghostscript.com/?p=ghostpdl.git%3Ba=commitdiff%3Bh=485904772c5f
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14869
https://bugs.ghostscript.com/show_bug.cgi?id=701841
https://access.redhat.com/errata/RHSA-2020:0222
http://www.openwall.com/lists/oss-security/2019/11/15/1
http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00050.html
http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00049.html