CVE-2026-18305: GIMP TIF File Parsing Integer Overflow Remote Code Execution Vulnerability
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. Was ZDI-CAN-29406.
Affected Software
Event History
Frequently Asked Questions
What must an attacker do to exploit this issue?
An attacker must cause a user to visit a malicious page or open a malicious TIF file. Exploitation occurs during TIF parsing and can result in code execution in the context of the current GIMP process.
Who is exposed to this vulnerability?
Users of affected GIMP installations are exposed when they process attacker-controlled TIF content, including by opening a malicious file or visiting a malicious page that triggers the vulnerable parsing path.
What is the underlying failure that enables code execution?
Improper validation of user-supplied TIF data can cause an integer overflow before a buffer is allocated. This parsing flaw can be leveraged to execute arbitrary code.