Description
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.
Published: 2026-08-20
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The flaw is a heap‑based buffer overflow, identified as CWE‑120 and CWE‑122, that is triggered during the parsing of TIF files in GIMP. The code does not validate the user‑supplied data length before copying it into a heap buffer, allowing an attacker to craft a malicious TIF file and gain execution in the context of the GIMP process. This vulnerability can be leveraged to run arbitrary code with the privileges of the user running the application, leading to full compromise of the application and potentially the host system.

Affected Systems

All installations of GIMP that include the vulnerable TIF parsing module are affected. The advisory references the commit that introduced the fix, so any release prior to that commit is vulnerable. The CVE does not list specific versions, but users should check whether their version predates the commit 77e1a11636fae53c922fe92273b8f4e33c7a9176.

Risk and Exploitability

The CVSS score of 7.8 classifies this as high severity. The EPSS score is less than 1%, indicating a very low exploitation probability at this time, and the vulnerability is not listed in the CISA KEV catalog. Attackers must obtain user interaction – the victim must open a malicious TIF file or visit a page that loads it – to trigger the overflow. With social engineering or compromised websites, the attack surface could increase, yet the overall risk remains moderate given the low EPSS.

Generated by OpenCVE AI on August 22, 2026 at 02:49 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest GIMP release that incorporates the fix for the TIF parsing bug, which addresses the heap‑based buffer overflow (CWE‑120) and unchecked memory handling (CWE‑122).
  • If an update is unavailable, avoid opening or downloading TIF files from untrusted or unknown sources until the patch is applied.
  • Configure automatic system or application updates for GIMP, or establish a routine to check for and apply security patches promptly to protect against future vulnerabilities.

Generated by OpenCVE AI on August 22, 2026 at 02:49 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DSA Debian DSA DSA-6470-1 gimp security update
History

Wed, 02 Sep 2026 10:45:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:gimp:gimp:3.2.2:*:*:*:*:*:*:*

Thu, 27 Aug 2026 18:00:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Sat, 22 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-120
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

threat_severity

Important


Thu, 20 Aug 2026 18:15:00 +0000

Type Values Removed Values Added
First Time appeared Gimp
Gimp gimp
Vendors & Products Gimp
Gimp gimp

Thu, 20 Aug 2026 16:45:00 +0000

Type Values Removed Values Added
Description 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.
Title GIMP TIF File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability
Weaknesses CWE-122
References
Metrics cvssV3_0

{'score': 7.8, 'vector': 'CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: zdi

Published:

Updated: 2026-08-27T16:24:53.594Z

Reserved: 2026-07-29T17:12:37.470Z

Link: CVE-2026-18302

cve-icon Vulnrichment

Updated: 2026-08-27T16:16:06.443Z

cve-icon NVD

Status : Analyzed

Published: 2026-08-20T17:17:27.143

Modified: 2026-09-02T15:02:59.277

Link: CVE-2026-18302

cve-icon Redhat

Severity : Important

Publid Date: 2026-08-20T16:23:11Z

Links: CVE-2026-18302 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-22T03:00:12Z

Weaknesses
  • CWE-120

    Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

  • CWE-122

    Heap-based Buffer Overflow