Skip to content
Fencer Vulns
medium 5.5

CVE-2026-66757 json

Gimp: signed integer overflow in file-sgi (sgi-lib) causes the plugin to crash on rle sgi images

published 2026-07-27 3 mo ago modified 2026-11-05 3 d ago also EUVD-2026-49403

cvss
5.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.2%
EPSS 0.2% chance of exploitation in 30 days, percentile 14%
public exploits
0
none known

Summary

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.

Patch / fix

  • gimp Debian 14 3.2.6-1

debian advisories DEBIAN-CVE-2026-66757

  • gimp SLE Workstation Extension 15 SP7, SLE Module for Package Hub 15 SP7 2.10.30-150400.3.74.1

suse advisories SUSE-SU-2026:4309-1

  • gimp openSUSE Leap 16.0 3.0.8-bp160.8.1
  • gimp openSUSE Leap 16.0 3.0.8-bp160.7.1
  • gimp openSUSE Tumbleweed 3.2.4-3.1
  • gimp openSUSE Leap 16.0 3.0.8-bp160.6.1

opensuse advisories openSUSE-SU-2026:21839-1openSUSE-SU-2026:21733-1openSUSE-SU-2026:11449-1openSUSE-SU-2026:21521-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-66757 updated cvss 5.5

gimp: signed integer overflow in file-sgi (sgi-lib) causes the plugin to crash on RLE SGI images

  • Red Hat Enterprise Linux 6 gimp, gimp-libs, gimp-devel-tools, gimp-help-browser
    affected: workaround, no fix planned “To mitigate this vulnerability, do not open SGI files from untrusted sources with GIMP.”
  • Red Hat Enterprise Linux 7 gimp, gimp-libs, gimp-devel-tools Red Hat Enterprise Linux 8 gimp, pygtk2, gimp-libs, pygobject2, python2-cairo, pygtk2-codegen, +3 more Red Hat Enterprise Linux 9 gimp, gimp-libs
    affected: workaround, no fix available “To mitigate this vulnerability, do not open SGI files from untrusted sources with GIMP.”

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
partial
Assessed
3 mo ago

Exploit prediction

0.23% chance of exploitation in the next 30 days, higher than 14% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • gitlab.gnome.org https://gitlab.gnome.org/GNOME/gimp/-/work_items/16494 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Affected products

  • GNOME GIMP
  • Red Hat Red Hat Enterprise Linux 6
  • Red Hat Red Hat Enterprise Linux 7
  • Red Hat Red Hat Enterprise Linux 8
  • Red Hat Red Hat Enterprise Linux 9

Classification

Weakness
  • CWE-190 Integer Overflow or Wraparound

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.