In ImageMagick 7.0.6-2, a memory leak vulnerability was found in the function ReadMATImage in coders/mat.c, which allows attackers to cause a denial of service. https://nvd.nist.gov/vuln/detail/CVE-2017-12564