Skip to content
OpenAdvisories
High · 7.8 CVE-2026-18306 EUVD-2026-63455GHSA-7pm3-57j9-653g

GIMP SGI File Parsing Integer Overflow Remote Code Execution Vulnerability

Published Aug 20, 2026 · Updated Aug 27, 2026 · Assigned by zdi

Description

GIMP SGI File Parsing Integer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of GIMP. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.

The specific flaw exists within the parsing of SGI files. The issue results from the lack of proper validation of user-supplied data, which can result in an integer overflow before writing to memory. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-29396.

Affected products

VendorProductAffectedFixed
GIMP GIMP 3.2.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 gimp 3.2.6-1 —
Debian 13 gimp 3.0.4-3+deb13u10 —
Debian 12 gimp No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 gimp No fix yet —
Ubuntu 26.04 LTS gimp No fix yet —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS gimp No fix yet —
Ubuntu Pro 22.04 LTS gimp No fix yet —
Ubuntu Pro 20.04 LTS gimp No fix yet —
Ubuntu Pro 18.04 LTS gimp No fix yet —
Ubuntu Pro 16.04 LTS gimp No fix yet —
ReleasePackageFixed inAdvisory
RHEL 9 gimp +1 2:3.0.4-4.el9_8.10 RHSA-2026:61587
RHEL 8 gimp +3 2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8 RHSA-2026:62507
RHEL 8 pygobject2 +3 2.28.7-5.module+el8.10.0+22676+becd68d6 RHSA-2026:62507
RHEL 8 pygtk2 +3 2.24.0-25.module+el8.9.0+21228+8e80d31d RHSA-2026:62507
RHEL 8 python2-cairo +2 1.16.3-7.module+el8.10.0+22676+becd68d6 RHSA-2026:62507
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 9.6 EUS gimp +1 2:2.99.8-4.el9_6.20 RHSA-2026:73768
RHEL 9.4 E4S gimp +1 2:2.99.8-4.el9_4.19 RHSA-2026:80509

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 gimp +1 2:3.0.4-4.el9_8.10 ALSA-2026:61587
AlmaLinux 8 gimp +3 2:2.8.22-26.module_el8.10.0+4267+35168c80.8 ALSA-2026:62507
AlmaLinux 8 pygobject2 +3 2.28.7-5.module_el8.10.0+4267+35168c80 ALSA-2026:62507
AlmaLinux 8 pygtk2 +3 2.24.0-25.module_el8.9.0+3725+d1441900 ALSA-2026:62507
AlmaLinux 8 python2-cairo +1 1.16.3-7.module_el8.10.0+4267+35168c80 ALSA-2026:62507

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 gimp 2:2.8.22-26.module+el8.10.0+1927+52edb5a0 RLSA-2026:62507
Rocky Linux 8 pygobject2 2.28.7-5.module+el8.10.0+1927+52edb5a0 RLSA-2026:62507
Rocky Linux 8 pygtk2 2.24.0-25.module+el8.9.0+1723+9bc93544 RLSA-2026:62507
Rocky Linux 8 python2-pycairo 1.16.3-7.module+el8.10.0+1927+52edb5a0 RLSA-2026:62507
ReleasePackageFixed inAdvisory
SLES 15 SP7 gimp 2.10.30-150400.3.79.1 SUSE-SU-2026:4409-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed gimp 3.2.6-1.1 openSUSE-SU-2026:11771-1
openSUSE Leap 16.0 gimp 3.0.8-bp160.10.1 openSUSE-SU-2026:21959-1

Advisories 11

References