In ImageMagick before 6.9.9-0 and 7.x before 7.0.6-1, a crafted PNG file could trigger a crash because there was an insufficient check for short files.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=870105
https://github.com/ImageMagick/ImageMagick/commit/46e3aabbf8d59a1bdebdbb65acb9b9e0484577d3
https://github.com/ImageMagick/ImageMagick/commit/aa84944b405acebbeefe871d0f64969b9e9f31ac
https://lists.debian.org/debian-lts-announce/2019/05/msg00015.html
https://security.gentoo.org/glsa/201711-07