A buffer overflow vulnerability in FloydSteinbergDitheringC() in contrib/gdevbjca.c of Artifex Software GhostScript v9.18 to 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;a=commitdiff;h=bf72f1a3dd5392ee8291e3b1518a0c2c5dc6ba39