The intersect function in base/gxfill.c in Artifex Software, Inc. Ghostscript 9.20 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted file.
https://security.gentoo.org/glsa/201708-06
https://euvd.enisa.europa.eu/vulnerability/EUVD-2016-1404
https://bugs.ghostscript.com/show_bug.cgi?id=697453
http://www.ghostscript.com/cgi-bin/findgit.cgi?4bef1a1d32e29b68855616020dbff574b9cda08f