Vulnerability · Published Jul 27, 2026 · Assigned by redhat
CVE-2026-66759Gimp: out-of-bounds read in file-icns plugin causes information disclosure or crash on crafted icns images
High 7.1
In plain English
A high-severity out-of-bounds read in GIMP from GNOME. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 23% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:9 | gimp | 2:3.0.4-4.el9_8.9 | ALSA-2026:50817 |
| AlmaLinux:9 | gimp-libs | 2:3.0.4-4.el9_8.9 | ALSA-2026:50817 |
| Debian:12 | gimp | no fix listed | DEBIAN-CVE-2026-66759 |
| Debian:13 | gimp | 3.0.4-3+deb13u10 | DEBIAN-CVE-2026-66759 |
| Debian:14 | gimp | 3.2.6-1 | DEBIAN-CVE-2026-66759 |
| Ubuntu:26.04:LTS | gimp | no fix listed | UBUNTU-CVE-2026-66759 |
| Ubuntu:26.10 | gimp | no fix listed | UBUNTU-CVE-2026-66759 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| GNOME | GIMP | 2.99.14 – before * |
| Red Hat | Red Hat Enterprise Linux 9 | see references |
| Red Hat | Red Hat Enterprise Linux 6 | see references |
| Red Hat | Red Hat Enterprise Linux 7 | see references |
| Red Hat | Red Hat Enterprise Linux 8 | see references |
Weakness: CWE-125 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
References
- RHSA-2026:50817 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2026-66759 vdb-entry, x_refsource_REDHAT
- RHBZ#2507557 issue-tracking, x_refsource_REDHAT
- https://gitlab.gnome.org/GNOME/gimp/-/issues/16528