coders/mat.c in ImageMagick before 6.9.4-5 allows remote attackers to cause a denial of service (application crash) via a mat file with an invalid number of frames.
https://github.com/ImageMagick/ImageMagick/commit/8a370f9ab120faf182aa160900ba692ba8e2bcf0
https://bugzilla.redhat.com/show_bug.cgi?id=1410507
http://www.securityfocus.com/bid/95216
http://www.openwall.com/lists/oss-security/2016/12/26/9
http://lists.opensuse.org/opensuse-updates/2017-02/msg00028.html