ZDI-CAN-26752: ZDI-25-321: GIMP ICO 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 ICO files. The issue results from the lack of proper validation of user-supplied data, which can result in an integer overflow before writing to memory. 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-2025-5473.
— ZDI
Affected Software
Event History
Frequently Asked Questions
What is the severity of ZDI-CAN-26752?
The severity of ZDI-CAN-26752 is considered high due to its potential for remote code execution.
How do I fix ZDI-CAN-26752?
To fix ZDI-CAN-26752, users should update to the latest version of GIMP that includes the security patch.
What type of attack does ZDI-CAN-26752 enable?
ZDI-CAN-26752 enables remote attackers to execute arbitrary code on affected installations of GIMP.
Is user interaction required to exploit ZDI-CAN-26752?
Yes, user interaction is required as the target must visit a malicious page or open a malicious file.
Which versions of GIMP are affected by ZDI-CAN-26752?
ZDI-CAN-26752 affects various installations of GIMP that do not have the latest security updates applied.