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.
CVE-2026-66757
CVSS base score
5.5 (v3.1)
Severity
MEDIUM
Attack vector
Local
Weakness
CWE-190
Last modified
November 24, 2026
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Affected products
gimp gimp
redhat enterprise linux
References
- access.redhat.com Vendor Advisory
- bugzilla.redhat.com Issue Tracking, Vendor Advisory
- gitlab.gnome.org Exploit, Issue Tracking, Vendor Advisory
- gitlab.gnome.org Exploit, Issue Tracking, Vendor Advisory