Integer overflow in the ReadSGIImage function in sgi.c in ImageMagick before 6.2.9 allows user-assisted attackers to cause a denial of service (crash) and possibly execute arbitrary code via large (1) bytes_per_pixel, (2) columns, and (3) rows values, which trigger a heap-based buffer overflow.
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11129
https://issues.rpath.com/browse/RPL-605
https://exchange.xforce.ibmcloud.com/vulnerabilities/28372
http://www.ubuntu.com/usn/usn-337-1
http://www.securityfocus.com/archive/1/443362/100/0/threaded
http://www.securityfocus.com/archive/1/443208/100/0/threaded
http://www.redhat.com/support/errata/RHSA-2006-0633.html
http://www.novell.com/linux/security/advisories/2006_50_imagemagick.html
http://www.mandriva.com/security/advisories?name=MDKSA-2006:155
http://www.debian.org/security/2006/dsa-1213
http://securitytracker.com/id?1016699
http://securityreason.com/securityalert/1385
http://security.gentoo.org/glsa/glsa-200609-14.xml
http://secunia.com/advisories/22998
http://secunia.com/advisories/22096
http://secunia.com/advisories/22036
http://secunia.com/advisories/21832
http://secunia.com/advisories/21679
http://secunia.com/advisories/21671
http://secunia.com/advisories/21621