# CVE-2026-66757: GNOME GIMP integer overflow in file-sgi plugin

Source: https://junglewise.ai/threats/cve-2026-66757-gnome-gimp-integer-overflow-in-file-sgi-plugin  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-27. Updated: 2026-07-27  
License: CC BY 4.0 with a link back

CVE-2026-66757 · Severity: medium · CVSS 5.5 · Published 2026-07-27

A vulnerability in GIMP's SGI image processing plugin allows a specially crafted image file to crash the application. GIMP is a popular open-source image editor used for graphic design and photo manipulation. If a user attempts to open a malicious SGI image, the software will terminate unexpectedly, potentially leading to a loss of unsaved work and a disruption of operations.

Technologies: [Red Hat Enterprise Linux 7](https://junglewise.ai/threats/technologies/enterprise-linux-7), [Red Hat Enterprise Linux 8](https://junglewise.ai/threats/technologies/enterprise-linux-8), [Red Hat Enterprise Linux 9](https://junglewise.ai/threats/technologies/enterprise-linux-9). Vendors: [Red Hat](https://junglewise.ai/threats/vendors/red-hat).

## Quick answers

**Is CVE-2026-66757 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-66757 being exploited in the wild.

**How severe is CVE-2026-66757?** Medium severity, with a CVSS score of 5.5, published 27 July 2026.

**Which products and versions are affected?** GNOME GIMP 3.2.4; Red Hat Red Hat Enterprise Linux 7; Red Hat Red Hat Enterprise Linux 8; Red Hat Red Hat Enterprise Linux 9.

**Is there a fix for CVE-2026-66757?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-66757 attacked?** It is attacked with local access, in a network appliance.

**Am I affected by CVE-2026-66757?** Check whether you run Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8 or Red Hat Enterprise Linux 9. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

An integer overflow vulnerability exists in the `file-sgi` plugin of GIMP within `plug-ins/file-sgi/sgi-lib.c`. The flaw occurs when the plugin reads 16-bit unsigned integer dimensions (ysize and zsize) from an RLE-compressed SGI image header. When both values are set to 65535, their multiplication overflows a standard 32-bit signed integer before being passed to `calloc`. This results in undefined behavior and a subsequent abort of the plugin process. An attacker can exploit this by providing a crafted SGI file to a user, resulting in a denial of service (application crash). The issue was confirmed in GIMP version 3.2.4.

## Affected products

- GNOME GIMP 3.2.4
- Red Hat Red Hat Enterprise Linux 7
- Red Hat Red Hat Enterprise Linux 8
- Red Hat Red Hat Enterprise Linux 9

## Timeline

- 2026-07-27: disclosed: Vulnerability reported via Red Hat Bugzilla and GNOME GitLab.
- 2026-07-27: advisory: CVE-2026-66757 published.

## References

- [https://access.redhat.com/downloads/content/package-browser/](https://access.redhat.com/downloads/content/package-browser/)
- [https://access.redhat.com/security/cve/CVE-2026-66757](https://access.redhat.com/security/cve/CVE-2026-66757)
- [https://bugzilla.redhat.com/show_bug.cgi?id=2507465](https://bugzilla.redhat.com/show_bug.cgi?id=2507465)
- [https://gitlab.gnome.org/GNOME/gimp/-/work_items/16494](https://gitlab.gnome.org/GNOME/gimp/-/work_items/16494)

## Related threats

- [Samba AD DC LDAP filter injection and ACL bypass in Compare requests](https://junglewise.ai/threats/cve-2026-58222-samba-ad-dc-ldap-filter-injection-and-acl-bypass-in-compare)
- [Samba KDC out-of-bounds read in kpasswd service](https://junglewise.ai/threats/cve-2026-58216-samba-kdc-out-of-bounds-read-in-kpasswd-service)
- [Samba internal DNS server denial of service via TKEY cache exhaustion](https://junglewise.ai/threats/cve-2026-58218-samba-internal-dns-server-denial-of-service-via-tkey-cache)
- [Red Hat PCP auth bypass in pmproxy /store endpoint](https://junglewise.ai/threats/cve-2026-16527-red-hat-pcp-auth-bypass-in-pmproxy-store-endpoint)
- [Red Hat PCP privilege escalation in linux_sockets PMDA](https://junglewise.ai/threats/cve-2026-16526-red-hat-pcp-privilege-escalation-in-linux-sockets-pmda)
