CVE-2026-66758: GNOME GIMP · Integer Overflow or Wraparound
Affects GNOME GIMPSource CVE Database V5
Not known to be exploited · CVSS 7.8 High.
Data as of 26 Oct 2026, 06:26 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 22% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 27 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| GNOMEGIMP | Affected– | Fixed in– |
| Red HatRed Hat Enterprise Linux 8 | Affected– | Fixed in– |
| Red HatRed Hat Enterprise Linux 9 | Affected– | Fixed in– |
| Red HatRed Hat Enterprise Linux 9.4 Update Services for SAP Solutions | Affected– | Fixed in– |
| Red HatRed Hat Enterprise Linux 9.6 Extended Update Support | Affected– | Fixed in– |
| Red HatRed Hat Enterprise Linux 6 | Affected– | Fixed in– |
| Red HatRed Hat Enterprise Linux 7 | Affected– | Fixed in– |
AI-suggested
A security update fixing this vulnerability is available in Red Hat Enterprise Linux 9 (e.g., gimp-3.0.4-4.el9_8.9). Users should apply this update promptly. Until patched, avoid opening FITS image files from untrusted sources with GIMP to mitigate risk.
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.
References
- access.redhat.com/security/cve/CVE-2026-66758 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2507475 (opens in a new tab)
- gitlab.gnome.org/GNOME/gimp/-/issues/16528 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:50817 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:62507 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:73768 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:80509 (opens in a new tab)