A memory leak vulnerability exists in ImageMagick versions before 6.9.13-57 and 7.x before 7.1.2-32 in the YUV encoder. This leak occurs when a specific encoder operation fails, causing allocated memory not to be released. An attacker can exploit this by supplying crafted input that triggers the failure, potentially leading to resource exhaustion and denial of service. The vulnerability has a medium severity score of 3.7 and does not impact confidentiality or integrity.