CVE-2026-4151: GIMP ANI File Parsing Integer Overflow Remote Code Execution Vulnerability
GIMP ANI File Parsing Integer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of GIMP. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.
The specific flaw exists within the parsing of ANI files. The issue results from the lack of proper validation of user-supplied data, which can result in an integer overflow before allocating a buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-28813.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Was ZDI-CAN-28813: Because user interaction is required to exploit the GIMP ANI file parsing integer overflow, prevent users from opening untrusted/malicious files or visiting malicious pages that could trigger GIMP to parse a crafted ANI file.