Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| GNOME / GIMP | affected 2.99.14 before * |
| Red Hat / Red Hat Enterprise Linux 9 | unaffected 2:3.0.4-4.el9_8.9 before * |
| Red Hat / Red Hat Enterprise Linux 6 | unaffected |
| Red Hat / Red Hat Enterprise Linux 7 | unaffected |
| Red Hat / Red Hat Enterprise Linux 8 | unaffected |
CWE
CWE-125
References
- https://access.redhat.com/errata/RHSA-2026:50817
- https://access.redhat.com/security/cve/CVE-2026-66759
- https://bugzilla.redhat.com/show_bug.cgi?id=2507557
- https://gitlab.gnome.org/GNOME/gimp/-/issues/16528
ADP enrichment
No English description supplied.