Skip to main content

GIMP CVE-2026-0797

HIGH
Heap-based Buffer Overflow (CWE-122)
2026-02-20 zdi-disclosures@trendmicro.com
8.8
CVSS 3.1 · Vendor: trendmicro
View

Attack ChainAIDerived

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

  1. Access
    Craft malicious ICO with oversized length field
  2. Delivery
    Deliver via email, download, or web page
  3. Exploit
    Victim opens file in GIMP
  4. Execution
    Heap buffer overflow in ICO parser
  5. Impact
    Execute arbitrary code as current user

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
ASVS 5.0
V15 - Secure Coding and Architecture Heap 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

Exploitation requires the victim to open an attacker-supplied malicious ICO file in GIMP (or visit a page that delivers one for opening) - the ICO import/parsing path must be invoked on the crafted file, which is the exact triggering feature. The CVSS vector confirms no authentication or privileges are needed (PR:N) but mandatory user interaction (UI:R), so the principal limiting factor is that the attacker cannot trigger the flaw without convincing a user to open the file; there is no automatic or unattended exploitation. A further limiter is version scope: the only confirmed-affected build is GIMP 3.2.0-rc1 (plus distro packages tracking it), so environments on unaffected GIMP versions are not exposed. Code executes only with the privileges of the user running GIMP (S:U, no scope change).

Impact

Signals are mixed but coherent. The CVSS 3.1 base score of 8.8 (AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H) reflects high impact and low attack complexity with no privileges, but the network vector is only realized through required user interaction (UI:R) - the victim must open a malicious file or page. Against this, the EPSS score is very low at 0.06% (19th percentile), and the vulnerability is not listed in CISA KEV, with no public exploit identified, indicating this is not currently subject to widespread or automated exploitation. No SSVC decision data was supplied. The net picture is a genuinely serious code-execution bug whose practical risk is bounded by the social-engineering step: it warrants prompt patching, especially on analyst, designer, and multi-user workstations that routinely open untrusted images, but it is not an emergency drop-everything mass-exploitation event. Note that the affected version is a release candidate (3.2.0-rc1), so production exposure may be narrower than GIMP's overall popularity suggests - verify which builds your environment actually runs.

Exploit ScenarioDerived

An attacker crafts a malicious ICO file with an oversized length field and delivers it via email attachment, a download link, or a web page, persuading a target to open it in GIMP. When GIMP's ICO parser copies the unchecked data, the heap buffer overflows and the attacker's code runs in the context of the user's GIMP process. No public proof-of-concept has been identified, but the low attack complexity (AC:L) means a working exploit primarily hinges on the social-engineering step.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv5 – Jun 30, 2026

Remote code execution in GIMP 3.2.0-rc1 lets attackers run arbitrary code by tricking a user into opening a malicious ICO image file or visiting a page that delivers one. The flaw is a heap-based buffer overflow in the ICO file parser caused by missing length validation before a copy operation, and it executes code in the context of the GIMP process. No public exploit has been identified at time of analysis, and EPSS estimates exploitation probability at just 0.06% (19th percentile), consistent with a user-interaction-gated client-side bug rather than mass-exploited infrastructure.

Earlier versions of this analysis (4)
v4 Jun 30, 2026 - 05:35 cvss changed CVSS 8.8

Arbitrary code execution in GIMP (GNU Image Manipulation Program) version 3.2.0 RC1 arises from a heap-based buffer overflow in the ICO image file parser, where attacker-controlled length fields are copied into an undersized heap buffer without validation. Remote attackers can run code in the context of the GIMP process if a user is lured into opening a malicious ICO file or visiting a page that delivers one. This is a ZDI-coordinated disclosure (ZDI-26-050 / ZDI-CAN-28599) with a vendor patch available; there is no public exploit identified at time of analysis and EPSS is very low (0.06%).

v3 Jun 30, 2026 - 05:34 cvss changed CVSS 8.8

Heap-based buffer overflow in GIMP's ICO file parser (affecting GIMP 3.2.0 RC1) lets remote attackers achieve arbitrary code execution when a victim opens a malicious .ico file or visits a page that delivers one. The flaw, reported through Trend Micro's Zero Day Initiative (ZDI-CAN-28599 / ZDI-26-050), carries CVSS 8.8 and runs code in the context of the GIMP process, though exploitation is gated by required user interaction. No public exploit has been identified and EPSS is very low (0.06%), but vendor patches from upstream GNOME, Red Hat, and SUSE are already available.

v2 Jun 30, 2026 - 05:34 cvss changed CVSS 8.8

Remote code execution in GIMP 3.2.0 RC1 arises from a heap-based buffer overflow in the ICO image file parser, where attacker-controlled length data is copied into a heap buffer without validation. An unauthenticated attacker (CVSS PR:N) who lures a victim into opening a malicious ICO file or visiting a malicious page (UI:R) can execute arbitrary code in the context of the GIMP process. There is no public exploit identified at time of analysis, EPSS risk is low (0.06%, 19th percentile), and the issue is not on CISA KEV, though the CVSS base score is 8.8 (High) and it was reported through Trend Micro's Zero Day Initiative (ZDI-26-050 / ZDI-CAN-28599).

v1 Mar 12, 2026 - 22:04 CVSS 7.8

GIMP ICO File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of GIMP. [CVSS 7.8 HIGH]

RemediationAI

Apply the upstream fix from GNOME GitLab commit 69cc6b1a6645dc9c4d7b484483dbe6a84b922b9c by upgrading to a GIMP build that incorporates it; because the affected version is the 3.2.0-rc1 pre-release, move to the patched 3.2.0 stable/RC build or your distribution's updated package. Patch available per vendor advisory - on Red Hat systems install the updates from the relevant RHSA errata (e.g. RHSA-2026:4173 and the 5388-5437 series at https://access.redhat.com/security/cve/CVE-2026-0797), and on SUSE apply SUSE-SU-2026:0442 (https://www.suse.com/support/update/SUSE-SU-2026:0442/). Until patched, the practical compensating control is to avoid opening untrusted ICO files in GIMP and to treat ICO attachments and downloads from unknown sources as hostile; you can also restrict GIMP's handling of the .ico MIME type or remove/disable the ICO import plug-in if your workflow does not need it, accepting the trade-off that legitimate icon editing will break. Standard ZDI/vendor advisory references: https://www.zerodayinitiative.com/advisories/ZDI-26-050/ and https://vuldb.com/?id.343588.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

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

Technical ContextAI · show details

GIMP (GNU Image Manipulation Program) is a widely used open-source raster graphics editor; the affected component is its ICO (Windows icon) file import plug-in. The root cause is classified as CWE-122 (Heap-based Buffer Overflow): the parser copies user-supplied data into a heap allocation without first validating that the declared length fits the destination buffer, allowing adjacent heap memory to be corrupted. The CPE string cpe:2.3:a:gimp:gimp:3.2.0:rc1 identifies the 3.2.0 release candidate 1 build as affected. Because image-format plug-ins process attacker-controlled structure fields (dimensions, data lengths) directly from the file, a malformed ICO can drive the overflow during what looks like an ordinary file open. The issue was discovered through Trend Micro's Zero Day Initiative (ZDI-CAN-28599 / ZDI-26-050).

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 (trendmicro) PRIMARY 8.8 HIGH
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
vuln.today AI 8.8 HIGH

File delivered over network but requires the user to open it (UI:R) with no privileges (PR:N); memory-corruption RCE in-process yields high C/I/A with no scope change.

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

Primary rating from Vendor (trendmicro).

CVSS VectorVendor: trendmicro

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

Lifecycle Timeline

3
CVSS changed
Jun 30, 2026 - 03:23 NVD
7.8 (HIGH) 8.8 (HIGH)
Patch released
Feb 24, 2026 - 21:43 nvd
Patch available
CVE Published
Feb 20, 2026 - 22:16 nvd
HIGH 7.8

DescriptionCVE.org

GIMP ICO 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 ICO 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-28599.

Executive ViewAI

Why It Matters

GIMP 3.2.0-rc1 suffers from a remote code execution vulnerability triggered by opening malicious ICO image files; no public exploit identified at time of analysis. Organizations with GIMP users face system compromise and data breach risks, though low exploitation probability (0.1% EPSS) reflects user-interaction requirements. Immediate patching is critical to eliminate this attack vector.

Business Impact: High
Compensating Controls

Apply vendor patch. Until patching is complete, implement email security controls to block ICO file delivery, disable automatic image rendering in applications and browsers, and conduct security awareness training on risks of opening untrusted image files.

Threat Intelligence Overview

EPSS Score
0.1%
Top 81% exploitable
Prevalence
High
Widely used open-source image editor, though only the 3.2.0-rc1 build is affected
Data Quality
5 sources
Confidence: Medium

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.1%
Patch available Yes
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· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
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 heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.

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

Affected Products (CPE)CVE.org

cpe:2.3:a:gimp:gimp:3.2.0:rc1:*:*:*:*:*:*

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

CVE-2026-2050 HIGH
7.8 Jun 24

Arbitrary code execution in GIMP results from a heap-based buffer overflow in the HDR file parser, where attacker-contro

Vendor StatusVendor

SUSE

Severity: High
Product Status
SUSE Liberty Linux 8 Fixed
SUSE Liberty Linux 9 Fixed
SUSE Linux Enterprise Desktop 15 SP7 SUSE Linux Enterprise Server 15 SP7 SUSE Linux Enterprise Server for SAP Applications 15 SP7 SUSE Linux Enterprise Workstation Extension 15 SP7 Fixed
SUSE Linux Enterprise Module for Package Hub 15 SP7 Fixed
openSUSE Leap 15.6 Fixed

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