In GraphicsMagick 1.4 snapshot-20171217 Q8, there is a heap-based buffer over-read in ReadMNGImage in coders/png.c, related to accessing one byte before testing whether a limit has been reached.
https://www.debian.org/security/2018/dsa-4321
https://usn.ubuntu.com/4266-1/
https://sourceforge.net/p/graphicsmagick/bugs/535/
https://lists.debian.org/debian-lts-announce/2018/06/msg00009.html
https://lists.debian.org/debian-lts-announce/2018/01/msg00005.html
http://hg.graphicsmagick.org/hg/GraphicsMagick/rev/1721f1b7e67a