CVE-2026-18304

GIMP TIF File Parsing Integer 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 Integer 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 user-supplied data, which can result in an integer overflow before allocating a buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-29403.

Analysis

AI-generated

Technical impact

This vulnerability arises from an integer overflow during the parsing of TIF files in GIMP. When a user opens a malicious TIF file or visits a page that forces GIMP to load one, the malformed data bypasses proper validation, causing the allocator to overflow. The resulting overflow permits an attacker to execute arbitrary code in the context of the user's GIMP process. The flaw is a classic instance of Integer Overflow (CWE‑190). The only requirement from the attacker is that the victim interacts with the malicious content.

Affected Systems

The affected vendor is GIMP, with the product identified simply as GIMP. No specific product variants or version ranges are listed in the data, so all installations of GIMP that can process TIF files are potentially vulnerable.

Risk and Exploitability

The CVSS score of 7.8 indicates a high severity. EPSS is not available, and the vulnerability is not listed in the CISA KEV catalog. The attack vector is local or requires user interaction – an attacker must get the victim to open a crafted TIF file or otherwise trigger GIMP to load one. If the user trusts the file or the site, arbitrary code can be executed with the privileges of the current user. Given the lack of a publicly known, widespread exploit, the immediate risk hinges on user awareness and the availability of a patch.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Install the latest GIMP release that contains the fixed commit (ad32d22c347674fa1bb5b60935c376b673d946e7).
  • If the latest release cannot be applied, block or delete TIF support in GIMP for untrusted files – for example, disable automatic opening or remove the TIF plug‑in.
  • Ensure the operating system and all libraries used by GIMP are fully patched and that the system is scanned for malware that could deliver malicious TIF files.

Generated by OpenCVE AI on August 20, 2026 at 20:08 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
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 Integer 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 user-supplied data, which can result in an integer overflow before allocating a buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-29403.
Title GIMP TIF File Parsing Integer Overflow Remote Code Execution Vulnerability
Weaknesses CWE-190
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-190

    Integer Overflow or Wraparound

Sources

Status
PUBLISHED
Assigner
zdi
Published
Updated
Aug 27, 2026, 4:24 PM
Reserved
Jul 29, 2026, 5:12 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