gimp: heap-based buffer overflow in the JIF loader
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.