Skip to main content

GIMP CVE-2026-18303

| EUVDEUVD-2026-63452 HIGH
Stack-based Buffer Overflow (CWE-121)
2026-08-20 zdi GHSA-5g2q-9q4q-p55m
7.8
CVSS 3.0 · Vendor: zdi
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious TIF with oversized field
  2. Delivery
    Deliver file via phishing or malicious webpage
  3. Exploit
    Target opens TIF in GIMP 3.2.2
  4. Execution
    Parser copies data to fixed stack buffer without length check
  5. Persist
    Stack overflow corrupts return address
  6. Impact
    Execute arbitrary code as victim user

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Stack buffer bounds checking
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The victim must actively open a malicious TIF file in GIMP - for example, by downloading and opening an image from a malicious webpage, or opening an attachment. No authentication to any service is required from the attacker's perspective (PR:N in CVSS). Exploitation is limited to GIMP 3.2.2 (and potentially adjacent 3.x versions); the attack vector is local execution (AV:L), meaning network reachability to GIMP is not required - the attacker must rely on social engineering to induce the file-open action. Impact is scoped to the current user process (S:U), so privilege escalation beyond the victim's OS account is not inherent to this vulnerability.

Impact

The CVSS 3.0 base score of 7.8 (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H) reflects high confidentiality, integrity, and availability impact with low attack complexity, but the local attack vector (AV:L) and required user interaction (UI:R) constrain realistic risk. The 'remote attackers' framing in the description refers to remote delivery of the malicious file rather than network-reachable exploitation without user action - the attack executes locally when the victim opens the file. No EPSS data was provided in the intelligence feed, so exploitation probability cannot be quantified. This CVE is not listed in the CISA KEV catalog, and no public POC has been identified at time of analysis. The real-world priority is moderate: GIMP is widely used in creative and Linux-centric environments, the user-interaction barrier lowers practical risk compared to a network-exploitable flaw, but successful exploitation yields full code execution. Organizations with GIMP deployed on endpoints handling untrusted image files should treat this with meaningful urgency.

Exploit ScenarioDerived

An attacker crafts a malicious TIFF image containing a deliberately oversized field that triggers the stack buffer overflow in GIMP's TIF parser, then hosts it on a compromised webpage or delivers it as an email attachment. When a victim opens the file in GIMP 3.2.2, the overflow corrupts the call stack, redirecting execution to attacker-controlled shellcode or a ROP chain, achieving code execution with the victim user's full privileges on the local system. No public POC has been identified at time of analysis, but the ZDI advisory publication typically precedes coordinated public disclosure.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 20, 2026

Stack-based buffer overflow in GIMP 3.2.2's TIF file parser enables remote attackers to execute arbitrary code in the context of the current user process. Exploitation requires the target to open a specially crafted TIF image file, making this a socially-engineered attack delivered via malicious webpage or email attachment. Reported by the Zero Day Initiative (ZDI-26-456/ZDI-CAN-29399), a fix commit has been pushed to the upstream GNOME GitLab repository, though no independently confirmed patched release version is available at time of analysis.

RemediationAI

The upstream fix is available as a GitLab commit (5633b362026c6e5b2beb559a10cd76fa32a47592) at https://gitlab.gnome.org/GNOME/gimp/-/commit/5633b362026c6e5b2beb559a10cd76fa32a47592. A formally released patched version has not been independently confirmed from available data - users should monitor the GIMP release page for a version superseding 3.2.2 that incorporates this commit. As a compensating control, users and organizations can restrict GIMP from opening TIF/TIFF files received from untrusted sources by removing TIFF file-type associations or using policy controls to block execution when files originate from email attachments or browser downloads. Note that removing TIFF associations affects legitimate workflows for users processing TIFF images professionally. Where possible, process untrusted image files in an isolated or sandboxed environment until a patched release is confirmed.

Affected VersionsENISA

GIMP 3.2.2

Affected Packages

euvd gimp no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability is rooted in CWE-121 (Stack-based Buffer Overflow), occurring within GIMP's TIFF image parsing subsystem. TIFF is a complex, multi-feature image format with numerous sub-encodings, and length-field mishandling during parsing is a historically common attack surface. The flaw arises because the parser copies user-supplied data into a fixed-size stack buffer without first validating that the data length does not exceed the buffer's capacity. A stack buffer overflow can corrupt return addresses or saved frame pointers, enabling control-flow hijacking and arbitrary code execution. The affected product is identified by CPE cpe:2.3:a:gimp:gimp:*:*:*:*:*:*:*:*, with EUVD pinning the confirmed affected version as GIMP 3.2.2.

Know when Gimp gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (zdi) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
vuln.today AI 7.8 HIGH

File must be locally opened (AV:L, UI:R); no attacker privilege required; full code execution achievable with no scope change.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE HIGH
Red Hat 7.8 HIGH

Primary rating from Vendor (zdi).

CVSS VectorVendor: zdi

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

GIMP 3.2.2 users are at immediate risk of remote code execution through malicious TIFF image files commonly delivered via email or websites, potentially compromising any employee system that processes external images. Without a vendor patch currently available, immediate containment and monitoring controls are required to mitigate organizational risk.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis; no public exploit identified at time of analysis. Interim mitigations include: email and web gateway blocking of inbound TIF files from untrusted sources; user awareness training to prevent opening suspicious image attachments; network segmentation and code execution monitoring to contain impact if exploitation occurs; and evaluation of sandboxed or containerized GIMP environments for high-risk workflows.

Threat Intelligence Overview

EPSS Score
0.5%
Top 60% exploitable
Prevalence
Medium
popular open-source image editor, common on Linux desktops
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.5%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

A stack-based buffer overflow occurs when a program writes more data to a buffer located on the stack than it was allocated to hold.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

More in Gimp

View all
CVE-2012-2763 HIGH POC
7.5 Jul 12

Buffer overflow in the readstr_upto function in plug-ins/script-fu/tinyscheme/scheme.c in GIMP 2.6.12 and earlier, and p

CVE-2012-5576 HIGH POC
7.5 Dec 18

Multiple stack-based buffer overflows in file-xwd.c in the X Window Dump (XWD) plug-in in GIMP 2.8.2 allow remote attack

CVE-2017-17789 HIGH POC
7.8 Dec 20

In GIMP 2.8.22, there is a heap-based buffer overflow in read_channel_data in plug-ins/common/file-psp.c. Rated high sev

CVE-2012-3236 MEDIUM POC
4.3 Jul 12

fits-io.c in GIMP before 2.8.1 allows remote attackers to cause a denial of service (NULL pointer dereference and applic

CVE-2022-32990 MEDIUM POC
5.5 Jun 24

An issue in gimp_layer_invalidate_boundary of GNOME GIMP 2.10.30 allows attackers to trigger an unhandled exception via

CVE-2022-30067 MEDIUM POC
5.5 May 17

GIMP 2.10.30 and 2.99.10 are vulnerable to Buffer Overflow. Rated medium severity (CVSS 5.5), this vulnerability is no a

CVE-2018-12713 CRITICAL
9.1 Jun 24

GIMP through 2.10.2 makes g_get_tmp_dir calls to establish temporary filenames, which may result in a filename that alre

CVE-2025-5473 HIGH
8.8 Jun 06

Critical remote code execution vulnerability in GIMP's ICO file parser caused by an integer overflow (CWE-190) that lack

CVE-2026-2044 HIGH
8.8 Feb 20

Remote code execution in GIMP 3.0.6 allows attackers to run arbitrary code by tricking a user into opening a malicious P

CVE-2026-0797 HIGH
8.8 Feb 20

Remote code execution in GIMP 3.2.0-rc1 lets attackers run arbitrary code by tricking a user into opening a malicious IC

CVE-2016-4994 HIGH
7.8 Jul 12

Use-after-free vulnerability in the xcf_load_image function in app/xcf/xcf-load.c in GIMP allows remote attackers to cau

CVE-2026-18307 HIGH
7.8 Aug 20

Heap-based buffer overflow in GIMP's TIF file parser enables remote code execution when a user opens a crafted TIFF imag

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP7 Affected
SUSE Linux Enterprise Server 15 SP7 Affected
SUSE Linux Enterprise Server for SAP Applications 15 SP7 Affected
SUSE Linux Enterprise Workstation Extension 15 SP7 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy