8.4High
Out-of-bounds write in GraphicsMagick PCD decoder
GraphicsMagick Group GraphicsMagick; Debian graphicsmagick; Fedora Project GraphicsMagick
A heap out-of-bounds write exists in the Photo CD (PCD) decoder of GraphicsMagick. In DecodeImage() (coders/pcd.c), the Huffman delta loop advances its output pointer with q++ after every decoded delta and never checks it against the end of the heap-allocated…