CVE-2026-18307

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

Published Aug 20, 2026 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
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-29404.

Analysis

AI-generated

Technical impact

The vulnerability is a heap‑based buffer overflow in GIMP’s TIF parsing routine. Unvalidated user data length is copied without bounds checks, allowing an attacker supplying a crafted TIF file to overwrite memory and execute arbitrary code in the context of the running GIMP process. The flaw can lead to complete compromise of the affected system, as the attacker gains the privileges of the running GIMP process. The CVE report describes it as a remote code execution vulnerability with a required user interaction step to open a malicious file or visit a suspicious page.

Affected Systems

All installations of GIMP that include the buggy TIF parser are affected. The product vendor is GIMP; no specific version range is listed, so any version prior to the release that includes this unpatched code is vulnerable.

Risk and Exploitability

The CVSS score is 7.8, indicating high severity. The EPSS score is < 1%, indicating a very low exploitation probability. The attack requires local user interaction with a malicious file. The vulnerability is not present in CISA KEV catalog, suggesting no publicly disclosed exploits as of the last update. Nonetheless, because it allows remote execution and depends on a user opening a TIF file, the risk remains significant for users who routinely open files from uncertain sources.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update to the latest GIMP release that includes the TIF parsing fix.
  • Temporarily disable automatic opening of TIF files or remove GIMP from file associations if unauthenticated file use is a concern.
  • Configure system antivirus to scan image files before they reach GIMP or block execution of unknown TIF files.

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

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-6470-1 gimp security update
History
Type Values Removed Values Added
CPEs cpe:2.3:a:gimp:gimp:3.2.2:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Weaknesses CWE-131
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

Type Values Removed Values Added
First Time appeared Gimp
Gimp gimp
Vendors & Products Gimp
Gimp gimp
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-29404.
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'}

Weaknesses
  • CWE-122

    Heap-based Buffer Overflow

  • CWE-131

    Incorrect Calculation of Buffer Size

Sources

Status
PUBLISHED
Assigner
zdi
Published
Updated
Aug 27, 2026, 4:24 PM
Reserved
Jul 29, 2026, 5:13 PM
Status
Analyzed
Published
Aug 20, 2026, 5:17 PM
Modified
Oct 26, 2026, 10:10 AM
Severity
Important
Public date
Aug 20, 2026, 4:23 PM