
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-66757 is an integer overflow vulnerability in the file-sgi plugin of GIMP that causes a denial of service when processing crafted RLE-compressed SGI images. When both ysize and zsize header dimensions are set to their maximum 16-bit value (65535), their multiplication overflows a 32-bit signed integer before being passed to calloc, resulting in undefined behavior and plugin crash. The vulnerability affects all versions of GIMP as tracked by Red Hat. It was published on July 27, 2026, and carries a CVSS v3.1 base score of 5.5 (Medium) (Red Hat CVE, Red Hat Bugzilla).
The root cause is a signed integer overflow (CWE-190) in the file-sgi plugin's SGI image parser. The image header fields ysize and zsize are read as 16-bit unsigned integers; when both are set to 65535, the expression ysize * zsize is computed as a 32-bit signed integer multiplication, overflowing the 32-bit boundary (65535 × 65535 = 4,294,836,225, which exceeds INT_MAX). The resulting corrupted value is then passed to calloc for row table allocation, triggering undefined behavior that aborts the plugin. Exploitation requires a user to open a specially crafted SGI image file in GIMP, making user interaction a prerequisite (Red Hat Bugzilla, Red Hat CVE).
Successful exploitation results in a denial of service — specifically, the GIMP file-sgi plugin crashes when attempting to open the malicious image. There is no impact on confidentiality or integrity, as the overflow only affects memory allocation size calculation and causes an abort rather than memory corruption leading to code execution. The scope is limited to the GIMP process on the local system, with no potential for lateral movement or data exfiltration (Red Hat CVE, Red Hat Bugzilla).
ysize and zsize header fields both set to 65535 (0xFFFF), which are valid 16-bit unsigned integer values accepted by the parser..sgi file to a target user via email attachment, file share, web download, or other social engineering means.file-sgi plugin reads ysize and zsize, computes ysize * zsize as a 32-bit signed integer (overflowing to a small or negative value), and passes the corrupted size to calloc..sgi image files with unusually small file sizes relative to their declared dimensions (65535×65535 pixels) in user download directories or temp folders.file-sgi plugin; application error logs showing abrupt termination during SGI image loading.sgi-lib component.No vendor patch has been released as of the disclosure date; the CVE status remains "Awaiting Analysis" with no fixed version listed. Users should exercise caution when opening SGI image files from untrusted sources in GIMP. As a workaround, administrators can restrict access to SGI file processing or disable the file-sgi plugin if it is not required. Monitor the Red Hat CVE page and GIMP upstream repository for patch availability (Red Hat CVE, GNOME GitLab).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."