GNOME GIMP
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. 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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 2.99.14, < *
Fixed in *
Fixed in 2:3.0.4-4.el9_8.9
Mitigation
Upgrade GIMP to * or later.
Upgrade Red Hat Enterprise Linux 9 to 2:3.0.4-4.el9_8.9 or later.
Workaround
To mitigate this vulnerability, do not open ICNS files from untrusted sources with GIMP.
References
- Vendor advisory access.redhat.com/errata/RHSA-2026:50817
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.