A buffer overflow vulnerability in pj_common_print_page() in devices/gdevpjet.c of Artifex Software GhostScript v9.50 allows a remote attacker to cause a denial of service via a crafted PDF file. This is fixed in v9.51.
https://www.debian.org/security/2020/dsa-4748
https://usn.ubuntu.com/4469-1/
https://security.gentoo.org/glsa/202008-20
https://lists.debian.org/debian-lts-announce/2020/08/msg00032.html
https://bugs.ghostscript.com/show_bug.cgi?id=701791
http://git.ghostscript.com/?p=ghostpdl.git%3Bh=aba3375ac24f8e02659d9b1eb9093909618cdb9f