CVE-2026-66759: Gimp: out-of-bounds read in file-icns plugin causes information disclosure or crash on crafted icns images
A flaw was found in the file-icns plugin in GIMP, affecting versions 2.99.14 and newer. 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 icnsdecompress 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.
Other sources
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 icnsdecompress 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.
— MITRE
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/gimpto a version that resolves this vulnerability.Fixed in 3.0.4-3+deb13u10Fixed in 3.0.4-3+deb13u11Fixed in 3.2.6-1Fixed in 3.2.8-1 - Upgrade
Upgrade
debian/gimpto a version that resolves this vulnerability.Fixed in 3.0.4-3+deb13u10 - Upgrade
Upgrade
debian/gimpto a version that resolves this vulnerability.Fixed in 3.2.6-1
Event History
Frequently Asked Questions
What is the severity of CVE-2026-66759?
CVE-2026-66759 has a severity rating of high at 7.1.
How do I fix CVE-2026-66759?
To fix CVE-2026-66759, update the GIMP file-icns plugin to the latest version that addresses this vulnerability.
What systems are affected by CVE-2026-66759?
CVE-2026-66759 affects GIMP versions 2.99.14 and newer.
What type of vulnerability is CVE-2026-66759?
CVE-2026-66759 is an out-of-bounds read vulnerability that can lead to information disclosure or application crashes.
Can CVE-2026-66759 be exploited remotely?
Yes, CVE-2026-66759 can potentially be exploited remotely through crafted ICNS image files.