ZDI-CAN-28599: ZDI-26-050: GIMP ICO File Parsing Heap-based Buffer 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 ICO files. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process.
Other sources
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 ZDI has assigned a CVSS rating of 7.8. The following CVEs are assigned: CVE-2026-0797.
— ZDI
Affected Software
Event History
Frequently Asked Questions
What is the severity of ZDI-CAN-28599?
The severity of ZDI-CAN-28599 is considered high due to its potential for remote code execution.
How do I fix ZDI-CAN-28599?
To fix ZDI-CAN-28599, users should update their GIMP software to the latest version provided by the vendor.
What versions of GIMP are affected by ZDI-CAN-28599?
ZDI-CAN-28599 affects all versions of GIMP prior to the security update addressing this vulnerability.
What type of vulnerability is ZDI-CAN-28599?
ZDI-CAN-28599 is a heap-based buffer overflow vulnerability that enables remote code execution.
Is user interaction required to exploit ZDI-CAN-28599?
Yes, user interaction is required for ZDI-CAN-28599 as the target must visit a malicious ICO file.