A buffer overflow vulnerability in mj_raster_cmd() in contrib/japanese/gdevmjc.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://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=863ada11f9a942a622a581312e2be022d9e2a6f7