Integer overflow in Gimp
CVE-2026-66757
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.
Vulnerability class: Integer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.002 (14.2th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 14th percentile — 14.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.002 · newest: 0.002 · change: 0.000
Affected products
- Gimp — versions 3.2.6
- GNOME Gimp
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat Enterprise Linux — versions 7.0, 8.0, 9.0
Weakness classification (CWE)
References
- access.redhat.com/security/cve/CVE-2026-66757 (vdb-entry, Vendor Advisory)
- bugzilla.redhat.com/show_bug.cgi (issue-tracking, Issue Tracking, Vendor Advisory)
- gitlab.gnome.org/GNOME/gimp/-/work_items/16494 (Exploit, Issue Tracking, Vendor Advisory)
Frequently asked questions
- What is CVE-2026-66757?
- CVE-2026-66757 is a medium-severity vulnerability in Gimp, classified under Integer Overflow or Wraparound. CVSS score: 5.5/10. Published 2026-07-27.
- How severe is CVE-2026-66757?
- Medium severity. CVSS v3 base score is 5.5 out of 10.