A memory allocation failure was discovered in the ReadPNMImage function in coders/pnm.c in GraphicsMagick 1.3.26. The vulnerability causes a big memory allocation, which may lead to remote denial of service in the MagickRealloc 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 |
---|---|
http://www.securityfocus.com/bid/100556 | vdb entry third party advisory |
https://blogs.gentoo.org/ago/2017/08/28/graphicsmagick-memory-allocation-failure-in-magickrealloc-memory-c-2/ | patch exploit vdb entry third party advisory |
http://hg.code.sf.net/p/graphicsmagick/code/rev/3bbf7a13643d | issue tracking third party advisory patch |
https://usn.ubuntu.com/4206-1/ | vendor advisory |