REDHAT-BUG-2520582: Integer Overflow
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 does an attacker need to exploit this issue?
An attacker needs to persuade a user to visit a malicious page or open a malicious TIF file. Successful exploitation can execute arbitrary code in the context of the current GIMP process.
Which files or workflows should be treated as risky?
The vulnerable code path is GIMP's parsing of TIF files. Treat TIF files from untrusted sources, including files delivered through web pages, as potentially malicious until the applicable update is installed.
How can we reduce exposure if we cannot patch immediately?
Avoid opening untrusted TIF files in GIMP and prevent users from visiting untrusted pages that may cause malicious content to be opened. Because exploitation requires user interaction, limiting these actions reduces the immediate attack opportunity.