REDHAT-BUG-2520594: Buffer Overflow
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. Was ZDI-CAN-29404.
Affected Software
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 through GIMP's parsing of the crafted TIF content.
What level of access could successful exploitation provide?
A successful exploit can execute arbitrary code in the context of the current GIMP process. The resulting access is limited to the privileges of the user running GIMP.
Which files or workflows should be treated as risky?
TIF files from untrusted sources are the relevant attack vector. Opening such a file in GIMP, or visiting a malicious page that causes the file to be processed, may expose the user.