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: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability is a heap‑based buffer overflow that occurs when GIMP parses TIF files. The flaw arises from failing to validate the length of user supplied data before copying it into a heap buffer. An attacker can craft a malicious TIF file and, if a user opens or visits a page that triggers its parsing, arbitrary code will be executed in the context of the GIMP process. This allows full control of the application and potentially the underlying system.

Affected Systems

All installations of GIMP that include the vulnerable TIF parsing code are affected. The specific affected versions are not listed in the advisory, but any release prior to the commit that introduced the fix is vulnerable. The advisory does not provide a product or vendor version matrix beyond the general GIMP product.

Risk and Exploitability

The CVSS score of 7.8 classifies the flaw as high severity, but the EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires user interaction – the target must open a crafted TIF file or visit a page that triggers its parsing – so it is a user‑initiated remote code execution vector. Given the lack of a known public exploit, the risk depends on the likelihood that users will encounter malicious TIF content, but attackers could embed such files in social engineering campaigns or compromised websites.

Generated by OpenCVE AI on August 20, 2026 at 20:09 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade GIMP to a version that includes the patch referenced in the advisory commit link.
  • If upgrading immediately is not possible, disable automatic opening of TIF files or configure the system to prompt before opening them.
  • Avoid opening TIF files from untrusted sources and monitor for suspicious downloads that may contain malicious data.

Generated by OpenCVE AI on August 20, 2026 at 20:09 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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-20T16:23:11.929Z

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

Link: CVE-2026-18302

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

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

Link: CVE-2026-18302

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-20T20:15:04Z

Weaknesses
  • CWE-122

    Heap-based Buffer Overflow