In ImageMagick before 6.9.9-0 and 7.x before 7.0.6-1, the ReadOneMNGImage function in coders/png.c has an out-of-bounds read with the MNG CLIP chunk.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=870109
https://github.com/ImageMagick/ImageMagick/commit/d072ed6aff835c174e856ce3a428163c0da9e8f4
https://security.gentoo.org/glsa/201711-07
https://usn.ubuntu.com/3681-1/