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.
ftp://patches.sgi.com/support/free/security/advisories/20060901-01-P.asc
secunia.com/advisories/21462
secunia.com/advisories/21525
secunia.com/advisories/21621
secunia.com/advisories/21671
secunia.com/advisories/21679
secunia.com/advisories/21832
secunia.com/advisories/22036
secunia.com/advisories/22096
secunia.com/advisories/22998
security.gentoo.org/glsa/glsa-200609-14.xml
securityreason.com/securityalert/1385
securitytracker.com/id?1016699
www.debian.org/security/2006/dsa-1213
www.mandriva.com/security/advisories?name=MDKSA-2006:155
www.novell.com/linux/security/advisories/2006_50_imagemagick.html
www.overflow.pl/adv/imsgiheap.txt
www.redhat.com/support/errata/RHSA-2006-0633.html
www.securityfocus.com/archive/1/443208/100/0/threaded
www.securityfocus.com/archive/1/443362/100/0/threaded
www.securityfocus.com/bid/19507
www.ubuntu.com/usn/usn-337-1
exchange.xforce.ibmcloud.com/vulnerabilities/28372
issues.rpath.com/browse/RPL-605
oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11129