Back to CVE records
High 7.8Published Jul 27, 2026

CVE-2026-66758Gimp: integer overflow in file-fits plugin causes a heap-based buffer overflow on crafted fits images

Updated under an hour ago ()

Does this affect you?

It affects GNOME GIMP and 4 other products. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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.

CVSS
7.8 HIGH (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness (CWE)
CWE-190
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
redhat
NVD analysis
Modified
Record last updated
Oct 12, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
GNOME GIMP
gnome:gimp (from the name)
All versions
CNA record
Red Hat Red Hat Enterprise Linux 8
redhat:enterprise_linux
from 8100020260824165450.4c9c024f not affected
CNA record
from 2:2.99.8-4.el9_4.19 not affected
CNA record
from 2:2.99.8-4.el9_6.20 not affected
CNA record
gimp gimp
gimp:gimp
3.0.8; 3.2.4
NVD
redhat enterprise_linux
redhat:enterprise_linux
6.0; 7.0; 8.0; 9.0
NVD

References

  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat
  • vdb-entry, x-refsource-redhat
  • issue-tracking, x-refsource-redhat

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.