Skip to main content

GIMP CVE-2025-10920

HIGH
Out-of-bounds Write (CWE-787)
2025-10-29 zdi-disclosures@trendmicro.com
7.8
CVSS 3.0 · Vendor: trendmicro
View

Attack ChainAIDerived

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

  1. Access
    Deliver malicious ICNS file via phishing or web
  2. Delivery
    Victim opens file in GIMP
  3. Exploit
    Trigger out-of-bounds write in ICNS parser
  4. Execution
    Corrupt memory and hijack control flow
  5. Impact
    Execute arbitrary code as current user

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

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 or preview a specially crafted ICNS (Apple Icon Image) file in GIMP; the flaw lies specifically in GIMP's ICNS file-format parser, which fails to validate user-supplied data before writing to an allocated buffer. The affected version per CPE is GIMP 3.0.4. Limiting factors: this is a local, client-side vector (AV:L) that cannot be triggered without user interaction (UI:R) - there is no automatic or network-service exposure - so an attacker must socially engineer the target into opening the malicious file, and code executes only with the privileges of the user running GIMP. A fixed version is available from the vendor.

Impact

This is a credible but not emergency-level priority. The CVSS 3.0 base score of 7.8 (HIGH) is driven by high confidentiality, integrity, and availability impact (C:H/I:H/A:H) under a local attack vector with low complexity and no privileges, offset only by required user interaction (UI:R). Note the vector is AV:L (local), NOT network - the 'remote attackers' language in the description reflects remote delivery of a malicious file that the victim must then open locally, which is the standard ZDI file-parsing pattern; this is consistent, not contradictory, but defenders should understand exploitation requires the victim to actively open or preview a crafted ICNS file, not a network-reachable service. No EPSS score was provided, so statistical exploitation probability cannot be weighed. The vulnerability is NOT in CISA KEV and no public exploit code is referenced, so there is no evidence of active exploitation. The ZDI advisory (ZDI-25-909) and GNOME GitLab merge request confirm a real, vendor-acknowledged memory-corruption flaw with a patch, but as a client-side desktop image-editor bug requiring user interaction, real-world risk is moderate: dangerous for targeted spear-phishing of individual users but unlikely to see widespread automated exploitation. No SSVC decision data was supplied in the input.

Exploit ScenarioDerived

An attacker crafts a malicious ICNS image file and delivers it via phishing email, a download link, or a malicious web page, enticing a GIMP user to open or preview it. When GIMP parses the file, the lack of validation of user-supplied data triggers an out-of-bounds write past an allocated buffer, allowing the attacker to execute arbitrary code in the context of the GIMP process. No public proof-of-concept exploit is identified in the provided data.

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

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

Alert me

AnalysisAIv1 – Oct 19, 2026

Out-of-bounds write in GIMP 3.0.4's ICNS file parser can execute arbitrary code when a victim opens or previews a crafted icon file, but the attack is local and requires user interaction rather than network reachability. The parser fails to validate user-supplied data before writing past the end of an allocated buffer, so code runs with the privileges of the user running GIMP. No public exploit was identified at time of analysis; the vendor has an upstream fix referenced in a GIMP merge request.

RemediationAI

Apply the vendor fix referenced by GIMP merge request 2443 (https://gitlab.gnome.org/GNOME/gimp/-/merge_requests/2443); the input does not specify an exact patched release version, so confirm the fixed build with the GIMP vendor advisory. Until an updated package is deployed, avoid opening or previewing untrusted ICNS files in GIMP and restrict GIMP use to trusted files; this blocks the trigger but limits legitimate icon-file workflows. Run GIMP under a low-privilege account or OS sandbox/container to reduce impact if a malicious file is opened, accepting some operational overhead; network blocking is not an effective primary control because the assessed vector is local (AV:L) and requires user interaction (UI:R). See also ZDI advisory https://www.zerodayinitiative.com/advisories/ZDI-25-909/.

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's ICNS parser handles Apple Icon Image files, a container format used for macOS icon assets. CVE-2025-10920 is a CWE-787 out-of-bounds write: the parser does not properly validate user-supplied data, causing a write past the end of an allocated buffer. The affected version identified by CPE is GIMP 3.0.4. The assessed CVSS 3.1 vector is AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H, meaning exploitation is local, requires the target to open a malicious file, needs no prior privileges (PR:N), and yields high confidentiality, integrity, and availability impact within the user's process. This is a client-side file-parsing memory-corruption issue, not a remotely reachable service flaw.

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 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 so AV:L and UI:R; no privileges needed (PR:N), and memory-corruption RCE in-process yields full C:H/I:H/A:H.

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:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Red Hat 7.8 HIGH

Primary rating from Vendor (trendmicro).

CVSS VectorVendor: trendmicro

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

DescriptionCVE.org

GIMP ICNS File Parsing Out-Of-Bounds Write 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 ICNS files. The issue results from the lack of proper validation of user-supplied data, which can result in a write past the end of an allocated buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-27684.

Executive ViewAI

Why It Matters

GIMP 3.0.4 contains a high-severity memory corruption flaw that could allow a crafted icon file to run code with the privileges of the logged-in user. Because exploitation requires local user interaction and no public exploit has been identified, enterprise-wide risk is limited but still warrants prioritized patching for teams that use GIMP for design, marketing, or content production.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 60% exploitable
Prevalence
Medium
popular open-source desktop image editor, common but not universally deployed
Data Quality
2 sources
Confidence: Low

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 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
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Medium

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.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

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.0.4:*:*:*:*:*:*:*

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

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