ImageMagick versions before 6.9.13-57 and 7.x before 7.1.2-32 have a memory leak vulnerability in the GIF encoder. This occurs because allocated memory is not released when color quantization fails during GIF encoding. An attacker can exploit this by supplying images that cause quantization failure, leading to memory leaks and potential degradation of system availability.