High severity7.8NVD Advisory· Published Jul 27, 2026· Updated Sep 2, 2026
CVE-2026-66758
CVE-2026-66758
Description
A flaw was found in the file-fits plugin in GIMP. When processing a FITS image file, the plugin calculates memory allocation sizes using signed 32-bit integers for width and height. If a crafted file sets both values to large values, their product exceeds 2^31 and overflows, resulting in an undersized heap-based buffer allocation. This integer overflow issue results in a heap-based buffer overflow when cfitsio subsequently writes a full row of pixels in the buffer, causing memory corruption, potentially leading to arbitrary code execution or a denial of service.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
23cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*+ 3 more
- cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
- osv-coords16 versionspkg:rpm/almalinux/gimppkg:rpm/almalinux/gimp-develpkg:rpm/almalinux/gimp-devel-toolspkg:rpm/almalinux/gimp-libspkg:rpm/almalinux/pygobject2pkg:rpm/almalinux/pygobject2-codegenpkg:rpm/almalinux/pygobject2-develpkg:rpm/almalinux/pygobject2-docpkg:rpm/almalinux/pygtk2pkg:rpm/almalinux/pygtk2-codegenpkg:rpm/almalinux/pygtk2-develpkg:rpm/almalinux/pygtk2-docpkg:rpm/almalinux/python2-cairopkg:rpm/almalinux/python2-cairo-develpkg:rpm/opensuse/gimp&distro=openSUSE%20Leap%2016.0pkg:rpm/opensuse/gimp&distro=openSUSE%20Tumbleweed
< 2:3.0.4-4.el9_8.9+ 15 more
- (no CPE)range: < 2:3.0.4-4.el9_8.9
- (no CPE)range: < 2:2.8.22-26.module_el8.10.0+4267+35168c80.8
- (no CPE)range: < 2:2.8.22-26.module_el8.10.0+4267+35168c80.8
- (no CPE)range: < 2:3.0.4-4.el9_8.9
- (no CPE)range: < 2.28.7-5.module_el8.10.0+4267+35168c80
- (no CPE)range: < 2.28.7-5.module_el8.10.0+4267+35168c80
- (no CPE)range: < 2.28.7-5.module_el8.10.0+4267+35168c80
- (no CPE)range: < 2.28.7-5.module_el8.10.0+4267+35168c80
- (no CPE)range: < 2.24.0-25.module_el8.9.0+3725+d1441900
- (no CPE)range: < 2.24.0-25.module_el8.9.0+3725+d1441900
- (no CPE)range: < 2.24.0-25.module_el8.9.0+3725+d1441900
- (no CPE)range: < 2.24.0-25.module_el8.9.0+3725+d1441900
- (no CPE)range: < 1.16.3-7.module_el8.10.0+4267+35168c80
- (no CPE)range: < 1.16.3-7.module_el8.10.0+4267+35168c80
- (no CPE)range: < 3.0.8-bp160.6.1
- (no CPE)range: < 3.2.4-3.1
Patches
Vulnerability mechanics
References
5- gitlab.gnome.org/GNOME/gimp/-/issues/16528nvdExploitIssue TrackingVendor Advisory
- access.redhat.com/security/cve/CVE-2026-66758nvdVendor Advisory
- bugzilla.redhat.com/show_bug.cginvdIssue TrackingVendor Advisory
- access.redhat.com/errata/RHSA-2026:50817nvdIssue Tracking
- access.redhat.com/errata/RHSA-2026:62507nvd
News mentions
1- GIMP: Three File Plugin Vulnerabilities Disclosed Together on July 28, 2026Vypr Intelligence · Jul 28, 2026