CVE-2026-66758
Fixed in a distro release EPSS <1%CVSS 7.8
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.
Products: GNOME GIMP, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions, Red Hat Enterprise Linux 9.6 Extended Update Support, Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7
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.9 |
| AlmaLinux 9 | gimp-libs | 2:3.0.4-4.el9_8.9 |
| 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.9 |
| Red Hat Enterprise Linux 9 | gimp-debuginfo | 2:3.0.4-4.el9_8.9 |
| Red Hat Enterprise Linux 9 | gimp-debugsource | 2:3.0.4-4.el9_8.9 |
| Red Hat Enterprise Linux 9 | gimp-devel-tools-debuginfo | 2:3.0.4-4.el9_8.9 |
| Red Hat Enterprise Linux 9 | gimp-libs | 2:3.0.4-4.el9_8.9 |
| Red Hat Enterprise Linux 9 | gimp-libs-debuginfo | 2:3.0.4-4.el9_8.9 |
| 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+40075+a21479b4.4 |
| 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 | 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 |
| 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.6.1 |
| openSUSE Tumbleweed | gimp | 3.2.4-3.1 |