GIMP
CVE-2025-10925
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious ILBM file
-
DeliveryDeliver via email/web/download
-
ExploitVictim opens file in GIMP
-
ExecutionOverflow stack buffer in ILBM parser
-
ImpactExecute code as current 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 | Exploitation requires the victim to open a maliciously crafted ILBM (Interleaved Bitmap / Amiga IFF) image file in GIMP, or visit a page that causes such a file to be opened - the vulnerable code path is GIMP's ILBM file parser, which fails to validate the length of user-supplied data before copying it into a stack buffer. Limiting factors that reduce real-world risk: mandatory user interaction (UI:R - the user must actively open the attacker's file), local attack vector (the file must be delivered to and processed on the target machine), and execution confined to the privileges of the current GIMP user (S:U, no privilege escalation). No authentication is involved (PR:N) because the 'victim' is simply any user running GIMP; ILBM is a niche legacy format, so only users who open such files are reachable. |
| Impact | This is a moderate-priority client-side vulnerability rather than a mass-exploitation emergency. 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 full confidentiality/integrity/availability impact but critically depends on local attack vector plus required user interaction - the victim must be lured into opening a malicious ILBM file or visiting a page that serves one, so there is no network-facing, self-propagating exposure. Note a signal tension: the description repeatedly says 'remote attackers' and 'visit a malicious page,' yet the CVSS vector is AV:L, because ZDI models file-parsing bugs as local (the malicious file must reach and be opened on the target host) - this is consistent ZDI methodology, not an error, but defenders should read 'remote' here as 'attacker-supplied file delivered remotely, triggered locally.' No EPSS score, KEV listing, or SSVC decision data was provided in the input, and no public exploit is referenced; the only exploitation signal is that a Trend Micro ZDI researcher privately disclosed it (ZDI-CAN-27793 / ZDI-25-914). Absent EPSS and with no evidence of in-the-wild use, real-world risk is driven by social-engineering feasibility against GIMP users, not by automatable remote attack. A vendor patch is available, which should be the primary mitigation. |
| Exploit ScenarioDerived | An attacker crafts a malicious ILBM (Amiga Interchange File Format) image and distributes it via email attachment, a download link, or a web page, enticing a GIMP user to open it. When GIMP parses the file, unvalidated data length is copied into a stack-based buffer, overflowing it and allowing code execution in the context of the current user. No public proof-of-concept is referenced in the input, so exploitation currently requires the attacker to develop their own exploit. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 19, 2026
Stack-based buffer overflow in GIMP's ILBM (Amiga IFF) image parser allows arbitrary code execution in the context of the user who opens a crafted file. CPE data identifies GIMP 3.0.4 as affected, and exploitation requires user interaction because the victim must open a malicious ILBM image or visit a page that causes one to be opened. No public exploit was identified at time of analysis, but the vendor has published an upstream fix (merge request 2450) and ZDI advisory ZDI-25-914.
RemediationAI
Apply the vendor fix referenced by GitLab merge request 2450 (https://gitlab.gnome.org/GNOME/gimp/-/merge_requests/2450); the upstream fix is available, but a released patched version was not independently confirmed in the provided data, so verify the fixed build with the vendor before rollout. Until upgraded, reduce exposure by preventing GIMP from opening untrusted ILBM/IFF files: remove or block ILBM file associations, filter ILBM attachments at the mail and web gateways, and instruct users not to open ILBM images from untrusted sources - trade-off is disruption to legitimate legacy Amiga asset workflows. For higher-risk environments, run GIMP in a low-privilege sandbox or container so that a successful overflow cannot affect the user's full profile - trade-off is reduced file-system access and possible compatibility issues with plugins. Review ZDI advisory ZDI-25-914 for detection guidance and confirm the fix version with the GIMP project.
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 includes a parser for ILBM (Interleaved Bitmap), a legacy bitmap format used primarily on Amiga systems and based on Electronic Arts' IFF container. The flaw is a classic CWE-121 stack-based buffer overflow: the parser fails to validate the length of user-supplied data before copying it into a fixed-size stack buffer, so a crafted ILBM file can overwrite stack memory and redirect execution. The CVSS vector (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H) means the attack is local in the sense that the malicious file must be processed on the target machine, no authentication is required, user interaction is mandatory, and code executes with the privileges of the current GIMP process without scope change or privilege escalation. Because ILBM is a niche legacy format, only users who actually open such files are reachable.
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
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
File must be opened locally by the user so AV:L and UI:R; no privileges needed (PR:N); parser flaw yields code execution as the user, giving full C/I/A impact without scope change.
Primary rating from Vendor (trendmicro).
CVSS VectorVendor: trendmicro
DescriptionCVE.org
GIMP ILBM 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 ILBM 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-27793.
Executive ViewAI
GIMP 3.0.4 contains a high-severity stack-based buffer overflow in its ILBM image parser that can allow arbitrary code execution when a user opens a crafted image file, putting creative, marketing, and other staff who handle image assets at risk. Leadership should prioritize remediation because a successful attack could compromise user endpoints and lead to data exposure or further network intrusion, although no public exploit has been identified at time of analysis. A vendor patch is available per advisory ZDI-25-914 and should be deployed promptly.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
Affected Products (CPE)CVE.org
Buffer overflow in the readstr_upto function in plug-ins/script-fu/tinyscheme/scheme.c in GIMP 2.6.12 and earlier, and p
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
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
fits-io.c in GIMP before 2.8.1 allows remote attackers to cause a denial of service (NULL pointer dereference and applic
An issue in gimp_layer_invalidate_boundary of GNOME GIMP 2.10.30 allows attackers to trigger an unhandled exception via
GIMP 2.10.30 and 2.99.10 are vulnerable to Buffer Overflow. Rated medium severity (CVSS 5.5), this vulnerability is no a
GIMP through 2.10.2 makes g_get_tmp_dir calls to establish temporary filenames, which may result in a filename that alre
Critical remote code execution vulnerability in GIMP's ICO file parser caused by an integer overflow (CWE-190) that lack
Remote code execution in GIMP 3.0.6 allows attackers to run arbitrary code by tricking a user into opening a malicious P
Remote code execution in GIMP 3.2.0-rc1 lets attackers run arbitrary code by tricking a user into opening a malicious IC
Use-after-free vulnerability in the xcf_load_image function in app/xcf/xcf-load.c in GIMP allows remote attackers to cau
Heap-based buffer overflow in GIMP's TIF file parser enables remote code execution when a user opens a crafted TIFF imag
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB