CVE-2026-66758
published high CVSS 3.1 · 7.8Gimp: integer overflow in file-fits plugin causes a heap-based buffer overflow on crafted fits images
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| GNOME | — | gimpGIMP | Affected | Not stated | redhat |
| Red Hat Enterprise Linux | 8 | gimp:2.88100020260824165450.4c9c024f and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat Enterprise Linux | 9 | gimp2:3.0.4-4.el9_8.9 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | gimpRed Hat Enterprise Linux 9.2 Update Services for SAP Solutions · 2:2.99.8-4.el9_2.7 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Amazon Linux | AL2 | Release evaluationALAS2GIMP-2026-017 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | gimp | Advisory build | 2:2.8.22-26.module_el8.10.0+4267+35168c80.8 | ALSA-2026:62507 |
| Debian | trixie | gimp | Advisory build | 3.0.4-3+deb13u10 | DSA-6470-1 |
| Oracle Linux | 8 | gimpaarch64 · gimp · 2.8b | Advisory build | 2:2.8.22-26.module+el8.10.0+91014+a7f2de23.8 | ELSA-2026-62507-0 |
Show 100 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | gimpRed Hat Enterprise Linux 9.4 Update Services for SAP Solutions · 2:2.99.8-4.el9_4.19 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | gimpRed Hat Enterprise Linux 9.6 Extended Update Support · 2:2.99.8-4.el9_6.20 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat Enterprise Linux | 6, 7 | gimp | Affected | Not stated | redhat |
| Red Hat Enterprise Linux | RHEL-8 | gimpaarch64 | Advisory build | 2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8 | RHSA-2026:62507 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | gimpaarch64 | Advisory build | 3.0.8-bp160.6.1 | OPENSUSE-SU-2026:21521-1 |
| AlmaLinux | 9 | gimp | Advisory build | 2:3.0.4-4.el9_8.9 | ALSA-2026:50817 |
| Oracle Linux | 8 | gimpx86_64 · gimp · 2.8b | Advisory build | 2:2.8.22-26.module+el8.10.0+91014+a7f2de23.8 | ELSA-2026-62507-0 |
| Oracle Linux | 9 | gimpaarch64 | Advisory build | 2:3.0.4-4.el9_8.9 | ELSA-2026-50817 |
| Oracle Linux | 9 | gimpx86_64 | Advisory build | 2:3.0.4-4.el9_8.9 | ELSA-2026-50817 |
| Red Hat Enterprise Linux | RHEL-8 | gimpppc64le | Advisory build | 2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8 | RHSA-2026:62507 |
| Red Hat Enterprise Linux | RHEL-8 | gimps390x | Advisory build | 2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8 | RHSA-2026:62507 |
| Red Hat Enterprise Linux | RHEL-8 | gimpsrc | Advisory build | 2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8 | RHSA-2026:62507 |
| Red Hat Enterprise Linux | RHEL-8 | gimpx86_64 | Advisory build | 2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8 | RHSA-2026:62507 |
| Red Hat Enterprise Linux | RHEL-9 | gimpaarch64 | Advisory build | 2:2.99.8-4.el9_2.7 | RHSA-2026:93589 |
| Red Hat Enterprise Linux | RHEL-9 | gimpaarch64 | Advisory build | 2:2.99.8-4.el9_4.19 | RHSA-2026:80509 |
| Red Hat Enterprise Linux | RHEL-9 | gimpaarch64 | Advisory build | 2:2.99.8-4.el9_6.20 | RHSA-2026:73768 |
| Red Hat Enterprise Linux | RHEL-9 | gimpaarch64 | Advisory build | 2:3.0.4-4.el9_8.9 | RHSA-2026:50817 |
| Red Hat Enterprise Linux | RHEL-9 | gimpppc64le | Advisory build | 2:2.99.8-4.el9_2.7 | RHSA-2026:93589 |
| Red Hat Enterprise Linux | RHEL-9 | gimpppc64le | Advisory build | 2:2.99.8-4.el9_4.19 | RHSA-2026:80509 |
| Red Hat Enterprise Linux | RHEL-9 | gimpppc64le | Advisory build | 2:2.99.8-4.el9_6.20 | RHSA-2026:73768 |
| Red Hat Enterprise Linux | RHEL-9 | gimpppc64le | Advisory build | 2:3.0.4-4.el9_8.9 | RHSA-2026:50817 |
| Red Hat Enterprise Linux | RHEL-9 | gimps390x | Advisory build | 2:2.99.8-4.el9_2.7 | RHSA-2026:93589 |
| Red Hat Enterprise Linux | RHEL-9 | gimps390x | Advisory build | 2:2.99.8-4.el9_4.19 | RHSA-2026:80509 |
| Red Hat Enterprise Linux | RHEL-9 | gimps390x | Advisory build | 2:2.99.8-4.el9_6.20 | RHSA-2026:73768 |
| Red Hat Enterprise Linux | RHEL-9 | gimpsrc | Advisory build | 2:2.99.8-4.el9_2.7 | RHSA-2026:93589 |
| Red Hat Enterprise Linux | RHEL-9 | gimpsrc | Advisory build | 2:2.99.8-4.el9_4.19 | RHSA-2026:80509 |
| Red Hat Enterprise Linux | RHEL-9 | gimpsrc | Advisory build | 2:2.99.8-4.el9_6.20 | RHSA-2026:73768 |
| Red Hat Enterprise Linux | RHEL-9 | gimpsrc | Advisory build | 2:3.0.4-4.el9_8.9 | RHSA-2026:50817 |
| Red Hat Enterprise Linux | RHEL-9 | gimpx86_64 | Advisory build | 2:2.99.8-4.el9_2.7 | RHSA-2026:93589 |
| Red Hat Enterprise Linux | RHEL-9 | gimpx86_64 | Advisory build | 2:2.99.8-4.el9_4.19 | RHSA-2026:80509 |
| Red Hat Enterprise Linux | RHEL-9 | gimpx86_64 | Advisory build | 2:2.99.8-4.el9_6.20 | RHSA-2026:73768 |
| Red Hat Enterprise Linux | RHEL-9 | gimpx86_64 | Advisory build | 2:3.0.4-4.el9_8.9 | RHSA-2026:50817 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | gimpppc64le | Advisory build | 3.0.8-bp160.6.1 | OPENSUSE-SU-2026:21521-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | gimpx86_64 | Advisory build | 3.0.8-bp160.6.1 | OPENSUSE-SU-2026:21521-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gimpaarch64 | Advisory build | 3.2.4-3.1 | OPENSUSE-SU-2026:11449-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gimpppc64le | Advisory build | 3.2.4-3.1 | OPENSUSE-SU-2026:11449-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gimps390x | Advisory build | 3.2.4-3.1 | OPENSUSE-SU-2026:11449-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gimpx86_64 | Advisory build | 3.2.4-3.1 | OPENSUSE-SU-2026:11449-1 |
| AlmaLinux | 8 | gimp-devel | Advisory build | 2:2.8.22-26.module_el8.10.0+4267+35168c80.8 | ALSA-2026:62507 |
| AlmaLinux | 8 | gimp-devel-tools | Advisory build | 2:2.8.22-26.module_el8.10.0+4267+35168c80.8 | ALSA-2026:62507 |
| AlmaLinux | 8 | gimp-libs | Advisory build | 2:2.8.22-26.module_el8.10.0+4267+35168c80.8 | ALSA-2026:62507 |
| AlmaLinux | 8 | pygobject2 | Advisory build | 2.28.7-5.module_el8.10.0+4267+35168c80 | ALSA-2026:62507 |
| AlmaLinux | 8 | pygobject2-codegen | Advisory build | 2.28.7-5.module_el8.10.0+4267+35168c80 | ALSA-2026:62507 |
| AlmaLinux | 8 | pygobject2-devel | Advisory build | 2.28.7-5.module_el8.10.0+4267+35168c80 | ALSA-2026:62507 |
| AlmaLinux | 8 | pygobject2-doc | Advisory build | 2.28.7-5.module_el8.10.0+4267+35168c80 | ALSA-2026:62507 |
| AlmaLinux | 8 | pygtk2 | Advisory build | 2.24.0-25.module_el8.9.0+3725+d1441900 | ALSA-2026:62507 |
| AlmaLinux | 8 | pygtk2-codegen | Advisory build | 2.24.0-25.module_el8.9.0+3725+d1441900 | ALSA-2026:62507 |
| AlmaLinux | 8 | pygtk2-devel | Advisory build | 2.24.0-25.module_el8.9.0+3725+d1441900 | ALSA-2026:62507 |
| AlmaLinux | 8 | pygtk2-doc | Advisory build | 2.24.0-25.module_el8.9.0+3725+d1441900 | ALSA-2026:62507 |
| AlmaLinux | 8 | python2-cairo | Advisory build | 1.16.3-7.module_el8.10.0+4267+35168c80 | ALSA-2026:62507 |
| AlmaLinux | 8 | python2-cairo-devel | Advisory build | 1.16.3-7.module_el8.10.0+4267+35168c80 | ALSA-2026:62507 |
| AlmaLinux | 9 | gimp-libs | Advisory build | 2:3.0.4-4.el9_8.9 | ALSA-2026:50817 |
| Oracle Linux | 8 | gimp-develaarch64 · gimp · 2.8b | Advisory build | 2:2.8.22-26.module+el8.10.0+91014+a7f2de23.8 | ELSA-2026-62507-0 |
| Oracle Linux | 8 | gimp-develx86_64 · gimp · 2.8b | Advisory build | 2:2.8.22-26.module+el8.10.0+91014+a7f2de23.8 | ELSA-2026-62507-0 |
| Oracle Linux | 8 | gimp-devel-toolsaarch64 · gimp · 2.8b | Advisory build | 2:2.8.22-26.module+el8.10.0+91014+a7f2de23.8 | ELSA-2026-62507-0 |
| Oracle Linux | 8 | gimp-devel-toolsx86_64 · gimp · 2.8b | Advisory build | 2:2.8.22-26.module+el8.10.0+91014+a7f2de23.8 | ELSA-2026-62507-0 |
| Oracle Linux | 8 | gimp-libsaarch64 · gimp · 2.8b | Advisory build | 2:2.8.22-26.module+el8.10.0+91014+a7f2de23.8 | ELSA-2026-62507-0 |
| Oracle Linux | 8 | gimp-libsx86_64 · gimp · 2.8b | Advisory build | 2:2.8.22-26.module+el8.10.0+91014+a7f2de23.8 | ELSA-2026-62507-0 |
| Oracle Linux | 8 | pygobject2aarch64 · gimp · 2.8b | Advisory build | 0:2.28.7-5.module+el8.10.0+90497+ae78887f | ELSA-2026-62507-0 |
| Oracle Linux | 8 | pygobject2x86_64 · gimp · 2.8b | Advisory build | 0:2.28.7-5.module+el8.10.0+90497+ae78887f | ELSA-2026-62507-0 |
| Oracle Linux | 8 | pygobject2-codegenaarch64 · gimp · 2.8b | Advisory build | 0:2.28.7-5.module+el8.10.0+90497+ae78887f | ELSA-2026-62507-0 |
| Oracle Linux | 8 | pygobject2-codegenx86_64 · gimp · 2.8b | Advisory build | 0:2.28.7-5.module+el8.10.0+90497+ae78887f | ELSA-2026-62507-0 |
| Oracle Linux | 8 | pygobject2-develaarch64 · gimp · 2.8b | Advisory build | 0:2.28.7-5.module+el8.10.0+90497+ae78887f | ELSA-2026-62507-0 |
| Oracle Linux | 8 | pygobject2-develx86_64 · gimp · 2.8b | Advisory build | 0:2.28.7-5.module+el8.10.0+90497+ae78887f | ELSA-2026-62507-0 |
| Oracle Linux | 8 | pygobject2-docaarch64 · gimp · 2.8b | Advisory build | 0:2.28.7-5.module+el8.10.0+90497+ae78887f | ELSA-2026-62507-0 |
| Oracle Linux | 8 | pygobject2-docx86_64 · gimp · 2.8b | Advisory build | 0:2.28.7-5.module+el8.10.0+90497+ae78887f | ELSA-2026-62507-0 |
| Oracle Linux | 8 | pygtk2aarch64 · gimp · 2.8b | Advisory build | 0:2.24.0-25.module+el8.9.0+90151+46a7e4b5 | ELSA-2026-62507-0 |
| Oracle Linux | 8 | pygtk2x86_64 · gimp · 2.8b | Advisory build | 0:2.24.0-25.module+el8.9.0+90151+46a7e4b5 | ELSA-2026-62507-0 |
| Oracle Linux | 8 | pygtk2-codegenaarch64 · gimp · 2.8b | Advisory build | 0:2.24.0-25.module+el8.9.0+90151+46a7e4b5 | ELSA-2026-62507-0 |
| Oracle Linux | 8 | pygtk2-codegenx86_64 · gimp · 2.8b | Advisory build | 0:2.24.0-25.module+el8.9.0+90151+46a7e4b5 | ELSA-2026-62507-0 |
| Oracle Linux | 8 | pygtk2-develaarch64 · gimp · 2.8b | Advisory build | 0:2.24.0-25.module+el8.9.0+90151+46a7e4b5 | ELSA-2026-62507-0 |
| Oracle Linux | 8 | pygtk2-develx86_64 · gimp · 2.8b | Advisory build | 0:2.24.0-25.module+el8.9.0+90151+46a7e4b5 | ELSA-2026-62507-0 |
| Oracle Linux | 8 | pygtk2-docaarch64 · gimp · 2.8b | Advisory build | 0:2.24.0-25.module+el8.9.0+90151+46a7e4b5 | ELSA-2026-62507-0 |
| Oracle Linux | 8 | pygtk2-docx86_64 · gimp · 2.8b | Advisory build | 0:2.24.0-25.module+el8.9.0+90151+46a7e4b5 | ELSA-2026-62507-0 |
| Oracle Linux | 8 | python2-cairoaarch64 · gimp · 2.8b | Advisory build | 0:1.16.3-7.module+el8.10.0+90497+ae78887f | ELSA-2026-62507-0 |
| Oracle Linux | 8 | python2-cairox86_64 · gimp · 2.8b | Advisory build | 0:1.16.3-7.module+el8.10.0+90497+ae78887f | ELSA-2026-62507-0 |
| Oracle Linux | 8 | python2-cairo-develaarch64 · gimp · 2.8b | Advisory build | 0:1.16.3-7.module+el8.10.0+90497+ae78887f | ELSA-2026-62507-0 |
| Oracle Linux | 8 | python2-cairo-develx86_64 · gimp · 2.8b | Advisory build | 0:1.16.3-7.module+el8.10.0+90497+ae78887f | ELSA-2026-62507-0 |
| Oracle Linux | 9 | gimp-libsaarch64 | Advisory build | 2:3.0.4-4.el9_8.9 | ELSA-2026-50817 |
| Oracle Linux | 9 | gimp-libsx86_64 | Advisory build | 2:3.0.4-4.el9_8.9 | ELSA-2026-50817 |
| Red Hat Enterprise Linux | RHEL-8 | gimp-debuginfoaarch64 | Advisory build | 2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8 | RHSA-2026:62507 |
| Red Hat Enterprise Linux | RHEL-8 | gimp-debuginfoppc64le | Advisory build | 2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8 | RHSA-2026:62507 |
| Red Hat Enterprise Linux | RHEL-8 | gimp-debuginfos390x | Advisory build | 2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8 | RHSA-2026:62507 |
| Red Hat Enterprise Linux | RHEL-8 | gimp-debuginfox86_64 | Advisory build | 2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8 | RHSA-2026:62507 |
| Red Hat Enterprise Linux | RHEL-8 | gimp-debugsourceaarch64 | Advisory build | 2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8 | RHSA-2026:62507 |
| Red Hat Enterprise Linux | RHEL-8 | gimp-debugsourceppc64le | Advisory build | 2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8 | RHSA-2026:62507 |
| Red Hat Enterprise Linux | RHEL-8 | gimp-debugsources390x | Advisory build | 2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8 | RHSA-2026:62507 |
| Red Hat Enterprise Linux | RHEL-8 | gimp-debugsourcex86_64 | Advisory build | 2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8 | RHSA-2026:62507 |
| Red Hat Enterprise Linux | RHEL-8 | gimp-develaarch64 | Advisory build | 2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8 | RHSA-2026:62507 |
| Red Hat Enterprise Linux | RHEL-8 | gimp-develppc64le | Advisory build | 2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8 | RHSA-2026:62507 |
| Red Hat Enterprise Linux | RHEL-8 | gimp-devels390x | Advisory build | 2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8 | RHSA-2026:62507 |
| Red Hat Enterprise Linux | RHEL-8 | gimp-develx86_64 | Advisory build | 2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8 | RHSA-2026:62507 |
| Red Hat Enterprise Linux | RHEL-8 | gimp-devel-toolsaarch64 | Advisory build | 2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8 | RHSA-2026:62507 |
| Red Hat Enterprise Linux | RHEL-8 | gimp-devel-toolsppc64le | Advisory build | 2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8 | RHSA-2026:62507 |
| Red Hat Enterprise Linux | RHEL-8 | gimp-devel-toolss390x | Advisory build | 2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8 | RHSA-2026:62507 |
| Red Hat Enterprise Linux | RHEL-8 | gimp-devel-toolsx86_64 | Advisory build | 2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8 | RHSA-2026:62507 |
| Red Hat Enterprise Linux | RHEL-8 | gimp-devel-tools-debuginfoaarch64 | Advisory build | 2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8 | RHSA-2026:62507 |
| Red Hat Enterprise Linux | RHEL-8 | gimp-devel-tools-debuginfoppc64le | Advisory build | 2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8 | RHSA-2026:62507 |
| Red Hat Enterprise Linux | RHEL-8 | gimp-devel-tools-debuginfos390x | Advisory build | 2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8 | RHSA-2026:62507 |
| Red Hat Enterprise Linux | RHEL-8 | gimp-devel-tools-debuginfox86_64 | Advisory build | 2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8 | RHSA-2026:62507 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| GNOME | GIMP | Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8 | 8100020260824165450.4c9c024f and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9 | 2:3.0.4-4.el9_8.9 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions | 2:2.99.8-4.el9_2.7 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions | 2:2.99.8-4.el9_4.19 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9.6 Extended Update Support | 2:2.99.8-4.el9_6.20 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 6 | Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 7 | Default: affected | redhat · cna |
Weaknesses
1- CWE-190 Integer Overflow or Wraparound
References
8- RHSA-2026:50817 https://access.redhat.com/errata/RHSA-2026:50817
- RHSA-2026:62507 https://access.redhat.com/errata/RHSA-2026:62507
- RHSA-2026:73768 https://access.redhat.com/errata/RHSA-2026:73768
- RHSA-2026:80509 https://access.redhat.com/errata/RHSA-2026:80509
- RHSA-2026:93589 https://access.redhat.com/errata/RHSA-2026:93589
- https://access.redhat.com/security/cve/CVE-2026-66758
- RHBZ#2507475 https://bugzilla.redhat.com/show_bug.cgi?id=2507475
- https://gitlab.gnome.org/GNOME/gimp/-/issues/16528
Provider assertions
2redhat · cna
Gimp: integer overflow in file-fits plugin causes a heap-based buffer overflow on crafted fits images
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 169e7f467788c64e092208320b2db7c04b5109553d94c98f6bdbfb2312c6207a
- Ingested
- 04 Nov 2026, 23:15:21 UTC
- Source record
- Official CVE record