ZDI-CAN-29405: ZDI-26-461: 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-18308.
— ZDI
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
GIMPto a version that resolves this vulnerability.Patch ZDI-26-461 - Compensating control
Mitigate exploitation by preventing users from opening malicious files or visiting attacker-controlled pages (user interaction is required to exploit this TIF parsing issue).
Event History
Frequently Asked Questions
What is the severity of ZDI-CAN-29405?
The severity of ZDI-CAN-29405 is rated at 7.8 on the CVSS scale.
How do I fix ZDI-CAN-29405?
To fix ZDI-CAN-29405, update GIMP to the latest version that addresses this vulnerability.
What type of vulnerability is ZDI-CAN-29405?
ZDI-CAN-29405 is an integer overflow remote code execution vulnerability in GIMP.
What should I do if I can't immediately update GIMP against ZDI-CAN-29405?
If you cannot update GIMP immediately, avoid opening TIF files from untrusted sources or visiting potentially malicious websites.
Who is affected by ZDI-CAN-29405?
Users of affected installations of GIMP are at risk of exploitation due to ZDI-CAN-29405.