The ReadMATImageV4 function in coders/mat.c in ImageMagick 7.0.8-7 uses an uninitialized variable, leading to memory corruption. http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-14551