In ImageMagick 7.0.5-8 Q16, an assertion failure was found in the function ResetImageProfileIterator, which allows attackers to cause a denial of service via a crafted file.
https://www.debian.org/security/2017/dsa-4019
https://lists.debian.org/debian-lts-announce/2019/05/msg00015.html