A flaw was found in the file-icns plugin in GIMP. When applying a decompressed mask during ICNS image processing, the plugin reads from the mask data buffer without verifying if the cursor exceeds the allocated resource size. If a crafted file contains a truncated mask resource, the icns_decompress function continues reading past the bounds of the buffer. This out-of-bounds read vulnerability results in information disclosure of heap contents, where memory contents are leaked as alpha channel pixel values, or a crash leading to a denial of service if unmapped memory is accessed.
{
"binaries": [
{
"binary_name": "gimp",
"binary_version": "3.2.2-1"
},
{
"binary_name": "gimp-data",
"binary_version": "3.2.2-1"
},
{
"binary_name": "gir1.2-gimp-3.0",
"binary_version": "3.2.2-1"
},
{
"binary_name": "libgimp-3.0-0",
"binary_version": "3.2.2-1"
},
{
"binary_name": "libgimp-3.0-bin",
"binary_version": "3.2.2-1"
}
]
}