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://www.debian.org/security/2017/dsa-4019
https://usn.ubuntu.com/3681-1/
https://security.gentoo.org/glsa/201711-07
https://lists.debian.org/debian-lts-announce/2019/05/msg00015.html
https://github.com/ImageMagick/ImageMagick/commit/aa84944b405acebbeefe871d0f64969b9e9f31ac
https://github.com/ImageMagick/ImageMagick/commit/46e3aabbf8d59a1bdebdbb65acb9b9e0484577d3