The ReadGROUP4Image function in coders/tiff.c in ImageMagick does not check the return value of the fwrite function, which allows remote attackers to cause a denial of service (application crash) via a crafted file.
https://github.com/ImageMagick/ImageMagick/issues/196
https://bugzilla.redhat.com/show_bug.cgi?id=1410473
http://www.securityfocus.com/bid/95209