Skip to main content

GIMP CVE-2026-18300

| EUVDEUVD-2026-63449 HIGH
Integer Overflow or Wraparound (CWE-190)
2026-08-20 zdi GHSA-28mq-m8mv-9qrq
7.8
CVSS 3.0 · Vendor: zdi
View

Attack ChainAIDerived

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

  1. Recon
    Craft malicious HDR image with overflow-triggering field values
  2. Delivery
    Deliver file via phishing email or malicious download link
  3. Exploit
    Victim opens file in GIMP 3.2.2
  4. Install
    GEGL HDR parser computes overflowed buffer size
  5. C2
    Undersized heap buffer allocated
  6. Execute
    Attacker-controlled data overwrites adjacent memory
  7. Impact
    Execute arbitrary code as current user

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer overflow checks
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

Exploitation requires the victim to actively open a specially crafted HDR (High Dynamic Range) image file in GIMP 3.2.2 - this is the sole mandatory condition. HDR file parsing is enabled by default in GIMP via GEGL; no non-default configuration or feature flag is required. The attack is bounded by the local execution context: the attacker cannot exploit this remotely without user interaction, and must deliver the malicious file through a social engineering vector (phishing, malicious download, or poisoned shared storage). Code execution is limited to the privileges of the current user process; no lateral privilege escalation component is identified in available data. The dependency on UI:R (per CVSS) and AV:L meaningfully limits mass automated exploitation.

Impact

The CVSS 7.8 High score is anchored by a full High triad (C:H/I:H/A:H) but meaningfully constrained by AV:L (local attack vector) and UI:R (user interaction required), meaning opportunistic mass exploitation over the network is not possible - the attacker must socially engineer the victim into opening a crafted HDR file. No EPSS score is present in the available intelligence, so probabilistic exploitation likelihood cannot be quantified from this dataset. The absence of KEV listing and confirmed public exploit code further reduces immediate urgency for most organizations, though ZDI's involvement signals that the research community has fully characterized the flaw. The dependency chain adds an important wrinkle: because the fix targets GEGL rather than GIMP directly, patch propagation through Linux distribution packaging pipelines may lag, meaning even organizations that promptly update GIMP could remain exposed if the underlying GEGL package is not simultaneously updated. The realistic target population - graphic designers, photographers, and media professionals who routinely open HDR files from external or client-supplied sources - faces a credible phishing or malicious-download scenario, and any team relying on GIMP in production image workflows should treat this as a priority patch.

Exploit ScenarioDerived

An attacker crafts an HDR image file containing field values engineered to trigger an integer overflow during buffer size calculation in GEGL's HDR parser, then delivers it to a target graphic designer via email attachment, a file-sharing link, or a download prompt on a malicious webpage. When the victim opens the file in GIMP 3.2.2, the overflow produces an undersized heap allocation, enabling the attacker to overwrite adjacent memory and achieve arbitrary code execution running under the victim's user account. No public exploit code is confirmed, but ZDI's full characterization of the flaw (ZDI-CAN-29289) means the barrier to weaponization is lower than for an unanalyzed bug.

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

Remote code execution in GIMP 3.2.2 is possible when a user opens a specially crafted HDR image file, with the underlying flaw residing in the GEGL image processing library that GIMP depends on. The integer overflow in HDR buffer size computation (CWE-190) produces an undersized heap allocation that an attacker can leverage to execute arbitrary code in the context of the victim's GIMP process. No public exploit code has been identified at time of analysis, and CISA KEV listing has not been confirmed; the ZDI advisory (ZDI-26-453) assigns this a High severity rating of CVSS 7.8.

RemediationAI

An upstream fix is available via a commit to the GNOME/gegl repository (https://gitlab.gnome.org/GNOME/gegl/-/commit/d3d262008299341c5b032b354021632ceadb2799); however, a released patched GIMP version incorporating this fix is not independently confirmed from available data - the fix version should be verified against both GIMP and GEGL release notes before declaring remediation complete. Users should monitor the GIMP project and their Linux distribution's package repositories for updated gegl and gimp packages. As a compensating control, users should avoid opening HDR image files received from untrusted, unknown, or external sources in GIMP until a patched release is confirmed. Organizations can implement file-association policies that prevent automatic opening of .hdr files with GIMP, or route untrusted HDR content through an isolated sandbox or alternative viewer; note that these controls disrupt legitimate HDR workflows. Consult the ZDI advisory at https://www.zerodayinitiative.com/advisories/ZDI-26-453/ for vendor-confirmed patch status updates.

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

GIMP delegates image processing - including HDR file parsing - to the GEGL (Generic Graphics Library) library maintained by the GNOME project. The fix commit (https://gitlab.gnome.org/GNOME/gegl/-/commit/d3d262008299341c5b032b354021632ceadb2799) confirms that the vulnerability resides in GEGL's HDR parser, not GIMP core directly. The root cause is CWE-190 (Integer Overflow or Wraparound): user-controlled data embedded in the HDR file is used in arithmetic to compute an allocation size without adequate bounds checking. When this arithmetic overflows, the resulting heap allocation is smaller than the data subsequently written into it, creating the precondition for heap corruption and controlled code execution. CPE cpe:2.3:a:gimp:gimp:*:*:*:*:*:*:*:* covers the broad GIMP product family, with EUVD-2026-63449 specifically naming version 3.2.2 as affected.

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

Victim must locally open a crafted file (AV:L, UI:R); no attacker privileges needed; successful exploitation fully compromises the GIMP process (C:H/I:H/A:H) without 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 HDR 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 HDR 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-29289.

Executive ViewAI

Why It Matters

GIMP 3.2.2 contains an integer overflow vulnerability in the GEGL library that enables remote code execution when users open malicious HDR image files. Users who process image files-particularly from external or untrusted sources-face risk of full system compromise and potential lateral movement. Organizations reliant on GIMP for design, photography, or media workflows should prioritize mitigation immediately.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Restrict GIMP 3.2.2 access to users processing only pre-vetted internal images; block .hdr file ingestion at email, web, and file-sharing gateways; run GIMP on isolated systems without network access if HDR processing is business-critical; disable unused GEGL plugins; implement host-based intrusion detection to flag suspicious child processes spawned from GIMP. Organizations unable to restrict HDR file handling should transition to alternative image processing tools with current security patches.

Threat Intelligence Overview

EPSS Score
0.5%
Top 62% exploitable
Prevalence
High
popular open-source image editor, millions of desktop users globally
Data Quality
6 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

Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.

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 Not-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