REDHAT-BUG-2584807: Use After Free
A flaw was found in the file-xmc plugin in GIMP. When processing a specially crafted XMC image file, the plugin does not properly validate the comment subtype before using it as an array index. This missing validation leads to out-of-bounds memory access, invalid free and use-after-free issues. This vulnerability can result in an application crash, leading to a denial of service, or potentially allow for arbitrary code execution.
Affected Software
Event History
Frequently Asked Questions
What does an attacker need to exploit this issue?
An attacker needs to provide a specially crafted XMC image file and have it processed by GIMP's file-xmc plugin. The flaw is triggered by an invalid comment subtype used as an array index.
What impact could successful exploitation have?
Processing the crafted file can cause an application crash and denial of service. The memory-safety issues may also potentially permit arbitrary code execution.