ZDI-CAN-29399: ZDI-26-456: GIMP TIF File Parsing Stack-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 stack-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-18303.
— 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-456
Event History
Frequently Asked Questions
What is the severity of ZDI-CAN-29399?
ZDI-CAN-29399 has a CVSS rating of 7.8, indicating a high severity risk.
How can I mitigate ZDI-CAN-29399?
To mitigate ZDI-CAN-29399, avoid opening untrusted TIF files or visiting malicious web pages.
What software is affected by ZDI-CAN-29399?
ZDI-CAN-29399 affects GIMP installations that handle TIF file parsing.
Is user interaction required to exploit ZDI-CAN-29399?
Yes, user interaction is required to exploit ZDI-CAN-29399 by opening a malicious file or visiting a malicious site.
What type of vulnerability is ZDI-CAN-29399?
ZDI-CAN-29399 is a stack-based buffer overflow vulnerability that allows remote code execution.