GIMP prior to version 2.99.16 is vulnerable to a stack-based buffer overflow in the ani_load_image() function. A malicious ANI file may achieve arbitrary code execution.