Skip to content
Fencer Vulns
high 7.8

CVE-2026-18302 json

GIMP TIF File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability

published 2026-08-20 2 mo ago modified 2026-10-26 14 d ago also EUVD-2026-63451

cvss
7.8
version 3.0, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.4%
EPSS 0.4% chance of exploitation in 30 days, percentile 33%
public exploits
0
none known

Summary

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-29398.

Patch / fix

  • gimp Debian 13 3.0.4-3+deb13u10
  • gimp Debian 14 3.2.6-1

debian advisories DEBIAN-CVE-2026-18302

  • gimp RHEL 9 2:3.0.4-4.el9_8.10
  • gimp-libs RHEL 9 2:3.0.4-4.el9_8.10
  • gimp RHEL 9.4 E4S 2:2.99.8-4.el9_4.19
  • gimp-libs RHEL 9.4 E4S 2:2.99.8-4.el9_4.19
  • gimp RHEL 9.6 EUS 2:2.99.8-4.el9_6.20
  • gimp-libs RHEL 9.6 EUS 2:2.99.8-4.el9_6.20

red hat advisories RHSA-2026:80509RHSA-2026:73768RHSA-2026:61587

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

suse advisories SUSE-SU-2026:4409-1

  • gimp openSUSE Leap 16.0 3.0.8-bp160.10.1
  • gimp openSUSE Tumbleweed 3.2.6-1.1

opensuse advisories openSUSE-SU-2026:21959-1openSUSE-SU-2026:11771-1

  • gimp AlmaLinux 9 2:3.0.4-4.el9_8.10
  • gimp-libs AlmaLinux 9 2:3.0.4-4.el9_8.10

almalinux advisories ALSA-2026:61587

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-18302 updated cvss 7.8

gimp: GIMP: Remote code execution via TIF file parsing heap-based buffer overflow

  • Red Hat Enterprise Linux 6 gimp, gimp-libs, gimp-devel-tools, gimp-help-browser
    affected: workaround, no fix planned “To mitigate this issue, users should exercise caution and avoid opening TIF image files from untrusted or unknown sources. As a general security practice, only process files from trusted origins.”
  • 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
    affected: workaround, no fix available “To mitigate this issue, users should exercise caution and avoid opening TIF image files from untrusted or unknown sources. As a general security practice, only process files from trusted origins.”
  • Red Hat Enterprise Linux AppStream (v. 9) gimp 3.0.4-4.el9_8.10, gimp-libs 3.0.4-4.el9_8.10
    fixed: vendor fix “To mitigate this issue, users should exercise caution and avoid opening TIF image files from untrusted or unknown sources. As a general security practice, only process files from trusted origins.” RHSA-2026:61587
  • Red Hat Enterprise Linux AppStream E4S (v.9.2) gimp 2.99.8-4.el9_2.7, gimp-libs 2.99.8-4.el9_2.7
    fixed: vendor fix “To mitigate this issue, users should exercise caution and avoid opening TIF image files from untrusted or unknown sources. As a general security practice, only process files from trusted origins.” RHSA-2026:93589
  • Red Hat Enterprise Linux AppStream E4S (v.9.4) gimp 2.99.8-4.el9_4.19, gimp-libs 2.99.8-4.el9_4.19
    fixed: vendor fix “To mitigate this issue, users should exercise caution and avoid opening TIF image files from untrusted or unknown sources. As a general security practice, only process files from trusted origins.” RHSA-2026:80509
  • Red Hat Enterprise Linux AppStream EUS (v.9.6) gimp 2.99.8-4.el9_6.20, gimp-libs 2.99.8-4.el9_6.20
    fixed: vendor fix “To mitigate this issue, users should exercise caution and avoid opening TIF image files from untrusted or unknown sources. As a general security practice, only process files from trusted origins.” RHSA-2026:73768

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
none
Automatable
no
Technical impact
total
Assessed
2 mo ago

Exploit prediction

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

CVSS scores

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

Affected products

  • GIMP GIMP

Classification

Weakness
  • CWE-122 Heap-based Buffer Overflow

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.