# CVE-2026-66757: Gimp: signed integer overflow in file-sgi (sgi-lib) causes the plugin to crash on rle sgi images

- Severity: Medium 5.5 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 13% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-27T19:07:13.384Z
- Modified: 2026-11-24T21:18:32.427Z
- Weaknesses: CWE-190
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- gimp: no versions given
- gimp:2.8/gimp: no versions given
- gimp gimp: 3.2.6
- redhat enterprise_linux: 7.0; 8.0; 9.0

## References

- <https://gitlab.gnome.org/GNOME/gimp/-/work_items/16494> (exploit, issue-tracking, vendor-advisory)
- <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)

## Sources

- CVE List: [CVE-2026-66757](https://www.cve.org/CVERecord?id=CVE-2026-66757), CVE Terms of Use, modified 2026-11-24
- NVD: [CVE-2026-66757](https://nvd.nist.gov/vuln/detail/CVE-2026-66757), Public domain, modified 2026-11-24

---

Page: https://cve.day/CVE-2026-66757 · Whole record: https://cve.day/CVE-2026-66757.json · Rebuilt by cve.day 2026-11-25T22:59:30.230Z
