In ImageMagick before 7.0.5-10, a crafted RLE image can trigger a crash because of incorrect EOF handling in coders/rle.c. NOTE: this vulnerability exists because of an incomplete fix for CVE-2017-9144.
https://www.debian.org/security/2017/dsa-4040
https://usn.ubuntu.com/3681-1/
https://github.com/ImageMagick/ImageMagick/issues/502