Skip to main content

GIMP CVE-2025-14424

HIGH
Use After Free (CWE-416)
2025-12-23 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 XCF file to victim
  2. Delivery
    Victim opens file in GIMP
  3. Exploit
    Parser operates on freed object (UAF)
  4. Execution
    Attacker-controlled heap data executed
  5. Impact
    Arbitrary code runs as current user

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
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 load an attacker-supplied malicious XCF file in GIMP (CVSS UI:R and AV:L confirm user interaction and local file handling are mandatory), so there is no unauthenticated remote-network exploitation path against a listening service. The specific trigger is GIMP's XCF file parser operating on an object whose existence is not validated, producing a use-after-free (CWE-416). Limiting factors: the attacker must socially engineer the user into opening the file, the affected configuration is the GIMP 3.0.6 XCF parser, and code executes only in the current user's context (S:U, no privilege escalation or sandbox escape implied); no network service exposure exists.

Impact

This is a classic client-side memory-corruption flaw with a severity-vs-urgency gap worth highlighting. 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) correctly models it as a LOCAL attack vector requiring user interaction - exploitation only occurs when a victim opens or is lured into loading a malicious XCF file, not via any network-listening service, so despite the description's 'remote attackers' framing the actual delivery is file/social-engineering based (the description's reference to 'visit a malicious page' means a downloaded/opened file, not a direct network service - the AV:L designation is the authoritative signal here). On the urgency side there is no CISA KEV listing and no EPSS score or POC was provided in the input, so there is no evidence of active or imminent mass exploitation; this reads as a real-but-not-emergency issue. Mitigating the urgency further: a vendor patch already exists (GNOME GitLab commit 5cc55d078b7fba995cef77d195fac325ee288ddd), and successful exploitation of a use-after-free (CWE-416) in a desktop image editor still demands crafting a reliable heap-grooming exploit and convincing a user to open the file. No SSVC decision data was supplied, so automatable/technical-impact framework scoring cannot be stated. Net: credible RCE in a popular application that should be patched on a normal-to-expedited cycle, but not a drop-everything emergency absent KEV/EPSS/POC signals.

Exploit ScenarioDerived

An attacker crafts a malformed GIMP XCF project file that triggers the use-after-free during parsing and emails it or hosts it on a download page disguised as legitimate artwork or a template. A victim opens the file in GIMP 3.0.6, the freed object is operated on during parsing, and the attacker's heap-controlled data leads to arbitrary code execution in the context of the GIMP process. No public proof-of-concept was identified in the provided data, so a working exploit would need to be developed.

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

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

Alert me

AnalysisAIv1 – Oct 19, 2026

Use-after-free in GIMP 3.0.6's XCF file parser allows an attacker to execute arbitrary code in the context of the current user when a crafted XCF file is opened. The flaw is a client-side memory-corruption issue requiring user interaction to load the malicious file; no privileges are required, but exploitation is not possible against a listening network service. A vendor patch is referenced upstream, and no public exploit was identified at time of analysis.

RemediationAI

Upgrade GIMP to a vendor-patched release that includes upstream commit 5cc55d078b7fba995cef77d195fac325ee288ddd; vendor patch availability is confirmed, but the exact fixed release version is not provided in the source data (upstream fix available via commit; released patched version not independently confirmed). Until patched builds are deployed, reduce exposure by blocking untrusted XCF files at email and web gateways, avoiding opening XCF attachments or downloads from untrusted sources, and running GIMP in an OS-level sandbox or restricted user account; these controls lower risk but do not eliminate the parser flaw and depend on user compliance, while blocking XCF files may disrupt legitimate design workflows and sandboxing can restrict plugin and file access. Consult https://gitlab.gnome.org/GNOME/gimp/-/commit/5cc55d078b7fba995cef77d195fac325ee288ddd and https://www.zerodayinitiative.com/advisories/ZDI-25-1138/ for vendor details.

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 native XCF format is parsed by GIMP when opening or importing project files. CVE-2025-14424 is a CWE-416 use-after-free: the parser frees an object and later performs operations on it without validating that the object still exists, so a crafted XCF file can corrupt memory and redirect execution in the GIMP process. The provided CPE pinpoints GIMP 3.0.6, and the CVSS vector (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H) confirms local file handling plus user interaction, no required privileges, and impact confined to the current user's context-not a remote service or privilege-escalation primitive. The upstream fix is in GIMP commit 5cc55d078b7fba995cef77d195fac325ee288ddd.

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

File must be opened locally by the user so AV:L and UI:R; no prior auth needed (PR:N); a UAF yielding code execution gives full C/I/A:H within the unchanged process scope.

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 XCF File Parsing Use-After-Free 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 XCF files. The issue results from the lack of validating the existence of an object prior to performing operations on the object. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-28376.

Executive ViewAI

Why It Matters

GIMP 3.0.6 contains a high-severity memory-corruption flaw that can allow a crafted XCF image to execute code under the account of the user who opens it, potentially exposing that user’s files and accessible enterprise resources. Exploitation requires user interaction and no public exploit identified at time of analysis, but affected design and creative workstations should be treated as requiring prompt remediation. Patch available per vendor advisory, so leadership should prioritize updating installations and reducing exposure to untrusted XCF files.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.7%
Top 50% exploitable
Prevalence
High
very widely used free cross-platform image editor on Linux/Windows/macOS
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.7%
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

40
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

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

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