CVE-2026-18303: GIMP TIF File Parsing Stack-based Buffer Overflow Remote Code Execution Vulnerability
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. Was ZDI-CAN-29399.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Mitigate exploitability by preventing users from opening untrusted/malicious files or visiting untrusted pages (user interaction is required to exploit this GIMP TIF parsing remote code execution vulnerability).
- Compensating control
Harden against remote code execution attempts by restricting GIMP usage to trusted workflows (e.g., block or quarantine untrusted TIF files before opening).
Event History
Frequently Asked Questions
What must an attacker do to exploit this issue?
The attacker must persuade a user to visit a malicious page or open a malicious TIF file. Exploitation occurs when GIMP parses attacker-controlled TIF data.
What level of access does successful exploitation provide?
Successful exploitation can execute arbitrary code in the context of the current GIMP process. The vulnerability has high impacts on confidentiality, integrity, and availability.
How can exposure be reduced if an update cannot be applied immediately?
Avoid opening untrusted TIF files and avoid visiting pages that may cause GIMP to process attacker-provided TIF content. User interaction is required for exploitation.