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.
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.
Link | Tags |
---|---|
https://blogs.gentoo.org/ago/2017/09/06/graphicsmagick-memory-allocation-failure-in-magickmalloc-memory-c-2/ | third party advisory patch |
http://www.securityfocus.com/bid/100678 | vdb entry third party advisory |
http://hg.code.sf.net/p/graphicsmagick/code/rev/493da54370aa | third party advisory patch |
https://usn.ubuntu.com/4232-1/ | vendor advisory |