A plain-language summary of this CVE is being written; the description below is the NVD's own text.
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.
Affected products
From the NVD's configuration data (CPE), vendor first.
- Gimp gimp
- Red Hat enterprise linux
Weakness type
References
- access.redhat.com /errata/RHSA-2026:50817
- access.redhat.com /errata/RHSA-2026:62507
- access.redhat.com /errata/RHSA-2026:73768
- access.redhat.com /errata/RHSA-2026:80509
- access.redhat.com /errata/RHSA-2026:93589
- access.redhat.com /security/cve/CVE-2026-66758
- bugzilla.redhat.com /show_bug.cgi
- gitlab.gnome.org /GNOME/gimp/-/issues/16528
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning