In ImageMagick 7.0.5-5, the ReadMATImage function in mat.c allows attackers to cause a denial of service (memory leak) via a crafted file. https://nvd.nist.gov/vuln/detail/CVE-2017-8348