A vulnerability was found in ImageMagick, where executing a crafted file with the `convert` command, ASAN detects memory leaks. The issue is related to incorrect memory deallocation before removing the last reference, which can be exploited by an attacker to cause a denial of service using a specially crafted file.