CVE-2026-18307
Fixed in a distro release EPSS <1%CVSS 7.8
GIMP TIF File Parsing Heap-based Buffer 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 TIF files. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-29404.
Products: GIMP
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| AlmaLinux 8 | gimp | 2:2.8.22-26.module_el8.10.0+4267+35168c80.8 |
| AlmaLinux 8 | gimp-devel | 2:2.8.22-26.module_el8.10.0+4267+35168c80.8 |
| AlmaLinux 8 | gimp-devel-tools | 2:2.8.22-26.module_el8.10.0+4267+35168c80.8 |
| AlmaLinux 8 | gimp-libs | 2:2.8.22-26.module_el8.10.0+4267+35168c80.8 |
| AlmaLinux 8 | pygobject2 | 2.28.7-5.module_el8.10.0+4267+35168c80 |
| AlmaLinux 8 | pygobject2-codegen | 2.28.7-5.module_el8.10.0+4267+35168c80 |
| AlmaLinux 8 | pygobject2-devel | 2.28.7-5.module_el8.10.0+4267+35168c80 |
| AlmaLinux 8 | pygobject2-doc | 2.28.7-5.module_el8.10.0+4267+35168c80 |
| AlmaLinux 8 | pygtk2 | 2.24.0-25.module_el8.9.0+3725+d1441900 |
| AlmaLinux 8 | pygtk2-codegen | 2.24.0-25.module_el8.9.0+3725+d1441900 |
| AlmaLinux 8 | pygtk2-devel | 2.24.0-25.module_el8.9.0+3725+d1441900 |
| AlmaLinux 8 | pygtk2-doc | 2.24.0-25.module_el8.9.0+3725+d1441900 |
| AlmaLinux 8 | python2-cairo | 1.16.3-7.module_el8.10.0+4267+35168c80 |
| AlmaLinux 8 | python2-cairo-devel | 1.16.3-7.module_el8.10.0+4267+35168c80 |
| AlmaLinux 9 | gimp | 2:3.0.4-4.el9_8.10 |
| AlmaLinux 9 | gimp-libs | 2:3.0.4-4.el9_8.10 |
| Debian 12 | gimp | no fix |
| Debian 13 | gimp | 3.0.4-3+deb13u10 |
| Debian 14 | gimp | 3.2.6-1 |
| Red Hat Enterprise Linux 8 | gimp | 2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8 |
| Red Hat Enterprise Linux 8 | gimp-debuginfo | 2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8 |
| Red Hat Enterprise Linux 8 | gimp-debugsource | 2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8 |
| Red Hat Enterprise Linux 8 | gimp-devel | 2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8 |
| Red Hat Enterprise Linux 8 | gimp-devel-tools | 2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8 |
| Red Hat Enterprise Linux 8 | gimp-devel-tools-debuginfo | 2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8 |
| Red Hat Enterprise Linux 8 | gimp-libs | 2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8 |
| Red Hat Enterprise Linux 8 | gimp-libs-debuginfo | 2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8 |
| Red Hat Enterprise Linux 8 | pygobject2 | 0:2.28.7-5.module+el8.10.0+22676+becd68d6 |
| Red Hat Enterprise Linux 8 | pygobject2-codegen | 0:2.28.7-5.module+el8.10.0+22676+becd68d6 |
| Red Hat Enterprise Linux 8 | pygobject2-debuginfo | 0:2.28.7-5.module+el8.10.0+22676+becd68d6 |
| Red Hat Enterprise Linux 8 | pygobject2-debugsource | 0:2.28.7-5.module+el8.10.0+22676+becd68d6 |
| Red Hat Enterprise Linux 8 | pygobject2-devel | 0:2.28.7-5.module+el8.10.0+22676+becd68d6 |
| Red Hat Enterprise Linux 8 | pygobject2-doc | 0:2.28.7-5.module+el8.10.0+22676+becd68d6 |
| Red Hat Enterprise Linux 8 | pygtk2 | 0:2.24.0-25.module+el8.9.0+21228+8e80d31d |
| Red Hat Enterprise Linux 8 | pygtk2-codegen | 0:2.24.0-25.module+el8.9.0+21228+8e80d31d |
| Red Hat Enterprise Linux 8 | pygtk2-debuginfo | 0:2.24.0-25.module+el8.9.0+21228+8e80d31d |
| Red Hat Enterprise Linux 8 | pygtk2-debugsource | 0:2.24.0-25.module+el8.9.0+21228+8e80d31d |
| Red Hat Enterprise Linux 8 | pygtk2-devel | 0:2.24.0-25.module+el8.9.0+21228+8e80d31d |
| Red Hat Enterprise Linux 8 | pygtk2-doc | 0:2.24.0-25.module+el8.9.0+21228+8e80d31d |
| Red Hat Enterprise Linux 8 | python2-cairo | 0:1.16.3-7.module+el8.10.0+22676+becd68d6 |
| Red Hat Enterprise Linux 8 | python2-cairo-debuginfo | 0:1.16.3-7.module+el8.10.0+22676+becd68d6 |
| Red Hat Enterprise Linux 8 | python2-cairo-devel | 0:1.16.3-7.module+el8.10.0+22676+becd68d6 |
| Red Hat Enterprise Linux 8 | python2-pycairo | 0:1.16.3-7.module+el8.10.0+22676+becd68d6 |
| Red Hat Enterprise Linux 8 | python2-pycairo-debugsource | 0:1.16.3-7.module+el8.10.0+22676+becd68d6 |
| Red Hat Enterprise Linux 9 | gimp | 2:3.0.4-4.el9_8.10 |
| Red Hat Enterprise Linux 9 | gimp-debuginfo | 2:3.0.4-4.el9_8.10 |
| Red Hat Enterprise Linux 9 | gimp-debugsource | 2:3.0.4-4.el9_8.10 |
| Red Hat Enterprise Linux 9 | gimp-devel-tools-debuginfo | 2:3.0.4-4.el9_8.10 |
| Red Hat Enterprise Linux 9 | gimp-libs | 2:3.0.4-4.el9_8.10 |
| Red Hat Enterprise Linux 9 | gimp-libs-debuginfo | 2:3.0.4-4.el9_8.10 |
| Red Hat rhel e4s 9.4 | gimp | 2:2.99.8-4.el9_4.19 |
| Red Hat rhel e4s 9.4 | gimp-debuginfo | 2:2.99.8-4.el9_4.19 |
| Red Hat rhel e4s 9.4 | gimp-debugsource | 2:2.99.8-4.el9_4.19 |
| Red Hat rhel e4s 9.4 | gimp-devel-tools-debuginfo | 2:2.99.8-4.el9_4.19 |
| Red Hat rhel e4s 9.4 | gimp-libs | 2:2.99.8-4.el9_4.19 |
| Red Hat rhel e4s 9.4 | gimp-libs-debuginfo | 2:2.99.8-4.el9_4.19 |
| Red Hat rhel eus 9.6 | gimp | 2:2.99.8-4.el9_6.20 |
| Red Hat rhel eus 9.6 | gimp-debuginfo | 2:2.99.8-4.el9_6.20 |
| Red Hat rhel eus 9.6 | gimp-debugsource | 2:2.99.8-4.el9_6.20 |
| Red Hat rhel eus 9.6 | gimp-devel-tools-debuginfo | 2:2.99.8-4.el9_6.20 |
| Red Hat rhel eus 9.6 | gimp-libs | 2:2.99.8-4.el9_6.20 |
| Red Hat rhel eus 9.6 | gimp-libs-debuginfo | 2:2.99.8-4.el9_6.20 |
| Rocky Linux 8 | gimp | 2:2.8.22-26.module+el8.10.0+1927+52edb5a0 |
| Rocky Linux 8 | gimp | 2:2.8.22-26.module+el8.10.0+40181+ad0e3a65.6 |
| Rocky Linux 8 | gimp | 2:2.8.22-26.module+el8.10.0+40134+eab491b1.5 |
| Rocky Linux 8 | gimp | 2:2.8.22-26.module+el8.10.0+1998+a08ccc48.2 |
| Rocky Linux 8 | gimp | 2:2.8.22-26.module+el8.10.0+40033+6fd27379.3 |
| Rocky Linux 8 | gimp | 2:2.8.22-26.module+el8.10.0+40075+a21479b4.4 |
| Rocky Linux 8 | pygobject2 | 0:2.28.7-5.module+el8.10.0+1927+52edb5a0 |
| Rocky Linux 8 | pygtk2 | 0:2.24.0-25.module+el8.9.0+1723+9bc93544 |
| Rocky Linux 8 | python2-pycairo | 0:1.16.3-7.module+el8.10.0+1927+52edb5a0 |
| SUSE Linux Enterprise Module for Package Hub 15 SP7 | gimp | 2.10.30-150400.3.79.1 |
| SUSE Linux Enterprise Workstation Extension 15 SP7 | gimp | 2.10.30-150400.3.79.1 |
| Ubuntu 26.04 LTS | gimp | no fix |
| Ubuntu 26.10 | gimp | no fix |
| Ubuntu Pro 16.04 LTS | gimp | no fix |
| Ubuntu Pro 18.04 LTS | gimp | no fix |
| Ubuntu Pro 20.04 LTS | gimp | no fix |
| Ubuntu Pro 22.04 LTS | gimp | no fix |
| Ubuntu Pro 24.04 LTS | gimp | no fix |
| openSUSE Leap 16.0 | gimp | 3.0.8-bp160.10.1 |