The QuantumTransferMode function in coders/tiff.c in GraphicsMagick 1.3.25 and earlier allows remote attackers to cause a denial of service (out-of-bounds read and application crash) via a small samples per pixel value in a CMYKA TIFF file.
https://usn.ubuntu.com/4206-1/
https://sourceforge.net/p/graphicsmagick/code/ci/6156b4c2992d855ece6079653b3b93c3229fc4b8/
https://lists.debian.org/debian-lts-announce/2018/08/msg00002.html
https://bugzilla.redhat.com/show_bug.cgi?id=1427975