Missing Release of Resource after Effective Lifetime
In ImageMagick7 before 7.0.6-6 and ImageMagick6 before 6.9.9-6 has a memory leak in ReadMATImage in "coders/mat.c".
CWE-772 - Missing Release Of Resource After Effective Lifetime
'Missing release of resource after effective lifetime' is a weakness that occurs when software doesn't sufficiently release a resource (e.g. memory, CPU, disk space, etc.) after it is used. If not addressed, attackers can launch a denial of service attack (by allocating a resource and not releasing it).