ImageMagick versions before 6.9.13-57 and 7.x before 7.1.2-32 have a type confusion vulnerability in the INFO, JSON, and YAML encoders. This flaw occurs when an internal method receives a pointer of an unexpected type during image writing in a compressed format. Exploitation can cause the process to crash with SIGABRT or SIGSEGV, resulting in denial of service.