In ImageMagick 7.0.6-5, a memory leak vulnerability was found in the function ReadMATImage in coders/mat.c, which allows attackers to cause a denial of service via a crafted file.
https://usn.ubuntu.com/3681-1/
https://security.gentoo.org/glsa/201711-07