Vulnerability · Published Jul 27, 2026 · Assigned by redhat
CVE-2026-66757Gimp: signed integer overflow in file-sgi (sgi-lib) causes the plugin to crash on rle sgi images
Medium 5.5
In plain English
A medium-severity integer overflow 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.2% (higher than 14% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
A flaw was found in the file-sgi plugin in GIMP. When processing an RLE-compressed SGI image, the plugin allocates memory for a row table. The image header dimensions (ysize and zsize) are read as 16-bit unsigned integers. If a crafted file sets both dimensions to their maximum value (65535), the multiplication ysize * zsize overflows the standard 32-bit int boundary before being passed to calloc. This integer overflow issue results in undefined behavior, aborting the plugin and causing a denial of service.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | gimp | no fix listed | DEBIAN-CVE-2026-66757 |
| Debian:13 | gimp | no fix listed | DEBIAN-CVE-2026-66757 |
| Debian:14 | gimp | 3.2.6-1 | DEBIAN-CVE-2026-66757 |
| Ubuntu:26.04:LTS | gimp | no fix listed | UBUNTU-CVE-2026-66757 |
| Ubuntu:26.10 | gimp | no fix listed | UBUNTU-CVE-2026-66757 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| GNOME | GIMP | 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 |
| Red Hat | Red Hat Enterprise Linux 9 | see references |
Weakness: CWE-190 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
References
- https://access.redhat.com/security/cve/CVE-2026-66757 vdb-entry, x_refsource_REDHAT
- RHBZ#2507465 issue-tracking, x_refsource_REDHAT
- https://gitlab.gnome.org/GNOME/gimp/-/work_items/16494