The ReadSUNImage function in coders/sun.c in GraphicsMagick 1.3.26 has an issue where memory allocation is excessive because it depends only on a length field in a header. This may lead to remote denial of service in the MagickMalloc function in magick/memory.c.
https://usn.ubuntu.com/4232-1/
http://www.securityfocus.com/bid/100678
http://hg.code.sf.net/p/graphicsmagick/code/rev/493da54370aa