REDHAT-BUG-2583413: Buffer Overflow
A flaw was found in the file-gif-load plugin in GIMP. When processing a specially crafted JIF image file, a 32-bit integer overflow occurs during the pixel buffer size calculation, while the zlib output limit is computed separately without wrapping. This leads to an undersized heap allocation, resulting in a heap-based buffer overflow when the compressed image data is decompressed. This issue 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 must an attacker provide to trigger the flaw?
An attacker must get GIMP to process a specially crafted JIF image file through the file-gif-load plugin. Processing the file can cause the plugin to allocate an undersized pixel buffer and then overflow it during decompression.
What is the practical impact if exploitation succeeds?
The issue can crash GIMP, causing a denial of service. The heap-based buffer overflow may also potentially allow arbitrary code execution.