ImageMagick, a free and open-source software for editing and manipulating digital images, contains a NULL pointer dereference issue in the MSL (Magick Scripting Language) parser. This occurs when processing `<comment>` tags before images are loaded. The issue can lead to a denial of service (DoS) attack due to assertion failure in debug builds or a NULL pointer dereference in release builds. The root cause is a missing NULL check when deleting an image property within the MSL parser. The vulnerability affects applications using ImageMagick to process user-supplied MSL files.