CVE-2026-66757
5.5medium
Gimp: signed integer overflow in file-sgi (sgi-lib) causes the plugin to crash on rle sgi images
- Severity
- 5.5medium CVSS:3.1 by redhat
- Exploit likelihood
- 0.28% (higher than 13% of CVEs)
- Published
- Last changed
- Assigned by
- redhat
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
| Product or package | Versions | Reported by |
|---|---|---|
| gimp | Not specified | CVE List |
| gimp:2.8/gimp | Not specified | CVE List |
| gimp gimp | 3.2.6 | NVD |
| redhat enterprise_linux | 7.0, 8.0, 9.0 | NVD |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
References
| https://access.redhat.com/security/cve/CVE-2026-66757 | vdb-entry, vendor-advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2507465 | issue-tracking, vendor-advisory | |
| https://gitlab.gnome.org/GNOME/gimp/-/work_items/16494 | exploit, issue-tracking, vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-66757 changed 2026-11-24 | CVE Terms of Use |
| NVD | CVE-2026-66757 changed 2026-11-24 | Public domain |