ZDI-CAN-29403: ZDI-26-457: GIMP TIF 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 TIF 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.
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-18304.
— ZDI
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Patch ZDI-26-457 - Compensating control
Because user interaction is required (victim must visit a malicious page or open a malicious file), mitigate by restricting or warning users against opening untrusted/malicious TIF files and visiting untrusted web content.
Event History
Frequently Asked Questions
What is the severity of ZDI-CAN-29403?
ZDI-CAN-29403 has been assigned a CVSS rating of 7.8, indicating a high severity level.
How do I fix ZDI-CAN-29403?
To fix ZDI-CAN-29403, update GIMP to the latest version that addresses this vulnerability.
What causes the vulnerability ZDI-CAN-29403?
ZDI-CAN-29403 is caused by an integer overflow in the TIF file parsing of GIMP.
Can ZDI-CAN-29403 be exploited remotely?
Yes, ZDI-CAN-29403 can be exploited remotely if a user opens a malicious TIF file or visits a compromised page.
What are the potential impacts of ZDI-CAN-29403?
The potential impact of ZDI-CAN-29403 includes arbitrary code execution on affected installations of GIMP.