Description
GIMP TIF File Parsing Stack-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 stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-29399.
Published: 2026-08-20
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

GIMP contains a stack-based buffer overflow in the TIFF image parser that allows an attacker to execute arbitrary code on a system running the vulnerable application. The flaw is caused by the failure to validate the length of user-supplied data before copying it into a stack buffer. An attacker who convinces the user to open a malicious TIFF file can trigger the overflow and run code with the same privileges as the GIMP process. The vulnerability is classified as CWE-121, a classic stack buffer overflow.

Affected Systems

All installations of GIMP that have not been updated to versions containing the fix from the commit identified in the advisory are affected. No specific version range is listed, so any GIMP release held in a system inventory should be checked against the latest patch. Users who maintain older GIMP instances or use unsupported versions are at higher risk.

Risk and Exploitability

The CVSS score of 7.8 indicates a high severity, and the vulnerability requires user interaction, meaning attackers need either a malicious webpage or a crafted file to lure a user into opening a TIFF image. The EPSS score of < 1% suggests a low but nonzero probability of exploitation, while the existence of a patch on the vendor’s repository and an advisory by ZeroDay Initiative implies that attackers are aware of the flaw. The vulnerability is not listed in CISA KEV, though that does not preclude exploitation. A remote attacker can achieve code execution in the context of the current user by exploiting this flaw under the conditions described.

Generated by OpenCVE AI on August 22, 2026 at 01:59 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade GIMP to the latest available release that includes the patch for the TIFF parsing buffer overflow. The fix is referenced by the commit 5633b362026c6e5b2beb559a10cd76fa32a47592 in the GIMP source repository.
  • If an update cannot be applied immediately, restrict GIMP’s ability to open TIFF files from untrusted sources—e.g., disable automatic opening of files from the web or move the executable to a directory that is not in the normal PATH.
  • Apply general input validation best practices: review the application’s handling of image data, enforce bounds checks and memory safety checks, and consider using sandboxing or privilege separation to limit the impact of a potential exploit.

Generated by OpenCVE AI on August 22, 2026 at 01:59 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 19:00: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 Stack-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 stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-29399.
Title GIMP TIF File Parsing Stack-based Buffer Overflow Remote Code Execution Vulnerability
Weaknesses CWE-121
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.446Z

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

Link: CVE-2026-18303

cve-icon Vulnrichment

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

cve-icon NVD

Status : Analyzed

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

Modified: 2026-09-02T15:03:37.273

Link: CVE-2026-18303

cve-icon Redhat

Severity : Important

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

Links: CVE-2026-18303 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-22T02:00:17Z

Weaknesses
  • CWE-120

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

  • CWE-121

    Stack-based Buffer Overflow