In ImageMagick before 6.9.8-5 and 7.x before 7.0.5-6, there is a memory leak in the ReadMATImage function in coders/mat.c. Upstream patch: https://github.com/ImageMagick/ImageMagick/commit/437a35e57db5ec078f4a3ccbf71f941276e88430 References: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=870013
Created ImageMagick tracking bugs for this issue: Affects: fedora-all [bug 1486807]
Please fix your scripts. ImageMagick 6.9.9-9 is in Fedora 25 and Fedora 26 updates-testing. ImageMagick 7.0.6-9 is in Fedora 27 and Fedora Rawhide.