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 to a fixed release to a version that resolves this vulnerability.
Patch ZDI-26-455 - Compensating control
Reduce exposure by preventing untrusted users from opening GIMP TIF files or visiting malicious pages that could be used for exploitation (user interaction is required to open a malicious file or visit a malicious page).
Event History
Frequently Asked Questions
What is the severity of ZDI-26-455?
The severity of ZDI-26-455 is rated at 7.8 according to the CVSS scoring system.
How do I fix ZDI-26-455?
To fix ZDI-26-455, users should update GIMP to the latest version provided by the developers.
What does ZDI-26-455 allow an attacker to do?
ZDI-26-455 allows remote attackers to execute arbitrary code on affected installations of GIMP.
Is user interaction required to exploit ZDI-26-455?
Yes, user interaction is required to exploit ZDI-26-455; the targeted user must visit a malicious page or open a malicious file.
Which software is affected by ZDI-26-455?
GIMP is the software affected by the ZDI-26-455 vulnerability.