GraphicsMagick is vulnerable to arbitrary code execution. An allocation failure vulnerability in the function ReadMNGImage
in coders/png.c
allows an attacker to execute arbitrary code on the host OS via a small MNG file that has a MEND chunk with a large length value.