Integer underflow in the parse8BIM function in coders/meta.c in GraphicsMagick 1.3.25 and earlier allows remote attackers to cause a denial of service (application crash) via a crafted 8BIM chunk, which triggers a heap-based buffer overflow.
https://sourceforge.net/p/graphicsmagick/code/ci/5c7b6d6094a25e99c57f8b18343914ebfd8213ef/
https://bugzilla.redhat.com/show_bug.cgi?id=1381148
http://www.securityfocus.com/bid/96135
http://www.securityfocus.com/bid/93262
http://www.openwall.com/lists/oss-security/2016/10/01/7
http://www.debian.org/security/2016/dsa-3746
http://lists.opensuse.org/opensuse-updates/2016-10/msg00097.html
http://lists.opensuse.org/opensuse-updates/2016-10/msg00094.html