Skip to main content

GIMP CVE-2025-10924

HIGH
Integer Overflow or Wraparound (CWE-190)
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 FF file to victim
  2. Delivery
    User opens file in GIMP
  3. Exploit
    Trigger integer overflow in FF parser
  4. Execution
    Undersized buffer allocation and memory corruption
  5. 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 open an attacker-supplied file in the FF file format using GIMP (or visit a page that triggers GIMP to process such a file); it is not triggerable without this user action. The CVSS vector is AV:L/UI:R, so the limiting factors are local delivery and mandatory user interaction - there is no network-facing or unattended trigger. PR:N means no prior authentication to GIMP is needed, but the attacker must still get the malicious FF file onto the target and convince the user to open it. Affected configuration per NVD is GIMP 3.0.4; applying the vendor fix (GNOME GitLab MR 2448) removes the condition.

Impact

This is a genuine code-execution flaw but not a drop-everything priority. The CVSS 3.0 vector (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H, base 7.8 HIGH) describes a local attack vector requiring user interaction - consistent with the description, which states the victim must open a malicious FF file or visit a malicious page. This is not remotely triggerable without a user action, which materially lowers real-world urgency versus a true network RCE. No EPSS score was supplied in the input, and the CVE is NOT listed in CISA KEV; no public POC is referenced beyond the ZDI advisory, so there is no public exploit identified at time of analysis. The signals are internally consistent (ZDI-sourced client-side RCE, integer overflow per CWE-190), so there is no contradiction to flag - but the absence of EPSS, KEV, and public exploit code means exploitation likelihood is unquantified and currently appears low/targeted rather than widespread. Net: a credible, patch-worthy client-side RCE in a popular application, best treated as important-to-patch rather than emergency.

Exploit ScenarioDerived

An attacker crafts a malicious FF-format file and delivers it via email, a download link, or a web page, relying on social engineering to get the victim to open it in GIMP. When GIMP parses the file, an integer overflow occurs before buffer allocation, producing an undersized buffer and memory corruption that the attacker leverages to execute arbitrary code in the context of the GIMP process. No public exploit code is referenced beyond the private ZDI advisory (ZDI-25-913 / ZDI-CAN-27836).

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

Integer overflow in GIMP 3.0.4's FF file parser allows attackers to execute arbitrary code in the context of the current process when a user opens a crafted FF file or visits a page triggering GIMP to process one. The vulnerability requires mandatory user interaction and local delivery (CVSS 3.1 AV:L/UI:R, PR:N), so it is not network-facing or unattended; exploitation hinges on convincing the victim to open an attacker-supplied file. Publicly available exploit code exists via the ZDI advisory, though no confirmed active exploitation (CISA KEV) is reported; a vendor fix is available through GNOME GitLab merge request 2448.

RemediationAI

Apply the vendor-released fix referenced by GNOME GitLab merge request 2448 (https://gitlab.gnome.org/GNOME/gimp/-/merge_requests/2448); consult the vendor advisory and release notes to confirm the exact patched GIMP version for your distribution before upgrading from 3.0.4 - no specific patched version number is confirmed in the provided data. As a compensating control pending upgrade, avoid opening untrusted or unexpected FF (.ff) files in GIMP and remove or restrict FF format handling where feasible; note that disabling a format plugin may break legitimate workflows requiring that format. Because exploitation requires user interaction, enforce user awareness and email/web download controls that prevent automatic opening of image files in GIMP, with the trade-off of added friction for normal image-review tasks. Do not rely on network perimeter controls, as the CVSS vector is local with user interaction.

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

The flaw is a CWE-190 integer overflow in GIMP's parsing of FF (Farbfeld) image files. GIMP fails to properly validate user-supplied size/length values during FF parsing, allowing arithmetic used to compute a buffer size to wrap around; the undersized allocation is then populated with attacker-controlled data, producing a heap-based out-of-bounds write that can be redirected into arbitrary code execution in the current process. The affected artifact identified by CPE is gimp:gimp:3.0.4. Because GIMP is a desktop image editor, the attack surface is local file parsing, consistent with the CVSS AV:L/UI:R vector - the attacker must deliver a malicious FF file and induce the user to open it (or cause GIMP to process such a file). ZDI tracked the issue as ZDI-CAN-27836 and published it as ZDI-25-913.

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

AV:L and UI:R because the victim must locally open a malicious file; PR:N as no GIMP authentication is required; C/I/A:H since code executes in the user's process context.

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 FF 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 FF 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-27836.

Executive ViewAI

Why It Matters

GIMP 3.0.4 contains a high-severity integer overflow in its FF file parser that can let a crafted file execute arbitrary code in the context of the user who opens it. The issue requires local delivery and user interaction, so risk is concentrated on workstation users who handle untrusted FF files; publicly available exploit code exists, but no confirmed active exploitation (CISA KEV) is reported. Leadership should care because a successful attack could compromise user endpoints and data under the user's privileges, and remediation requires coordinated patching and user awareness.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 60% exploitable
Prevalence
High
most widely-deployed free image editor, broad desktop and Linux footprint
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
High

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.

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