The ReadMATImage function in coders/mat.c in ImageMagick allows attackers to cause a denial of service (memory leak) via a crafted file. Upstream issue: https://github.com/ImageMagick/ImageMagick/issues/525