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.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/66xxx/CVE-2026-66759.json",
"cna_assigner": "redhat",
"unresolved_ranges": [
{
"source": "AFFECTED_FIELD",
"extracted_events": [
{
"introduced": "2.99.14"
},
{
"fixed": "*"
}
]
}
],
"cwe_ids": [
"CWE-125"
]
}{
"source": "CPE_STRING",
"cpe": [
"cpe:2.3:a:gimp:gimp:3.0.8:*:*:*:*:*:*:*",
"cpe:2.3:a:gimp:gimp:3.2.4:*:*:*:*:*:*:*"
],
"extracted_events": [
{
"introduced": "3.0.8"
},
{
"last_affected": "3.0.8"
},
{
"introduced": "3.2.4"
},
{
"last_affected": "3.2.4"
}
]
}{
"source": "CPE_STRING",
"cpe": [
"cpe:2.3:a:gimp:gimp:3.0.8:*:*:*:*:*:*:*",
"cpe:2.3:a:gimp:gimp:3.2.4:*:*:*:*:*:*:*"
],
"extracted_events": [
{
"introduced": "3.0.8"
},
{
"last_affected": "3.0.8"
},
{
"introduced": "3.2.4"
},
{
"last_affected": "3.2.4"
}
]
}