ZDI-CAN-29398: ZDI-26-455: GIMP TIF 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 TIF 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-18302.
— 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-455 - Compensating control
Mitigate exploitation by preventing users from opening malicious files or visiting malicious pages (requires user interaction for exploitation).
Event History
Frequently Asked Questions
What is the severity of ZDI-CAN-29398?
The severity of ZDI-CAN-29398 is rated at 7.8 on the CVSS scale.
How do I fix ZDI-CAN-29398?
To fix ZDI-CAN-29398, update GIMP to the latest version that addresses this vulnerability.
What is the risk of ZDI-CAN-29398?
ZDI-CAN-29398 poses a risk of remote code execution if a user interacts with a malicious TIF file.
Who is affected by ZDI-CAN-29398?
Users of GIMP are affected by ZDI-CAN-29398 if they open compromised TIF files.
What is required to exploit ZDI-CAN-29398?
User interaction is required to exploit ZDI-CAN-29398, necessitating visiting a malicious page or opening a harmful file.