Skip to main content
View

Attack ChainAIDerived

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

  1. Access
    Deliver crafted XCF file to victim
  2. Delivery
    Victim opens file in GIMP
  3. Exploit
    Path load fails triggering use-after-free
  4. Execution
    Corrupt heap and hijack freed object
  5. Impact
    Execute arbitrary code as 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 a user to open a maliciously crafted XCF (GIMP native format) file in which a path/selection is referenced but then fails to load, triggering the use-after-free in the main process - this is the specific condition drawn from the description. Limiting factors: the attack vector is local (AV:L) and demands user interaction (UI:R), so the attacker must first deliver the crafted .xcf file and convince the victim to open it in GIMP; there is no network-facing or automatic trigger. Impact is confined to the context of the user running GIMP (scope unchanged, S:U), so privilege level gained equals that of the victim user, not root, unless combined with a separate privilege-escalation flaw.

Impact

This is a genuine high-severity memory-safety flaw but not a drop-everything emergency. The CVSS 3.1 base score of 7.8 is driven by full triad impact (C:H/I:H/A:H) under a local attack vector (AV:L) with low complexity (AC:L) and no privileges (PR:N), but it is gated by required user interaction (UI:R) - the victim must open a malicious XCF file. There is no EPSS score, no CISA KEV listing, and no public exploit code referenced in the provided data, so exploitation status is 'no public exploit identified at time of analysis.' The combination of a client-side file-parsing use-after-free with mandatory user interaction and local vector places this firmly in the 'phishing/social-engineering lure' category rather than mass remote exploitation - real risk depends on users being tricked into opening attacker-supplied .xcf files. Note a consistency caveat: PR:N (unauthenticated) is technically correct per CVSS but should not be read as 'remote unauthenticated' - the local vector plus UI:R means an attacker cannot reach the flaw without delivering a file and getting a user to open it. No SSVC decision data, EPSS value, or POC confirmation was supplied, so automatable/exploitation signals cannot be cross-checked; prioritize patching but treat widespread automated exploitation as unlikely absent further evidence.

Exploit ScenarioDerived

An attacker crafts a malicious XCF project file that references an internal path/selection which fails to load, triggering a use-after-free when GIMP processes it. The attacker delivers the file via email, a shared design asset, or a download, and a user opens it in GIMP, causing a crash and potentially arbitrary code execution in the user's context. No public exploit code is identified at time of analysis, and the local vector with required user interaction means delivery-plus-victim-action is mandatory.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.1% 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's XCF loader can crash the application and potentially allow arbitrary code execution when a user opens a crafted .xcf file that selects a path and then fails to load it. The flaw affects GIMP as packaged in Red Hat Enterprise Linux 6 through 10 according to the provided CPE mappings, and exploitation is local and requires user interaction (CVSS 7.8, AV:L/UI:R/PR:N); no public exploit was identified at time of analysis. Because scope is unchanged, any code execution would run with the privileges of the user opening the file rather than automatically gaining root.

RemediationAI

No vendor-released patch version was identified in the provided data; apply the updated GIMP package from Red Hat as soon as it is published and track https://access.redhat.com/security/cve/CVE-2026-112261 and https://bugzilla.redhat.com/show_bug.cgi?id=2555748 for the exact fixed version. Until then, avoid opening untrusted .xcf files, block automatic thumbnail/preview generation for XCF content where feasible, and run GIMP in a sandboxed or containerized environment with minimal filesystem access and as a non-root user; these controls reduce exposure but do not remove the underlying memory-safety bug, and sandboxing may break plugins or file-access workflows. Do not run GIMP with elevated privileges, since successful exploitation would inherit those privileges.

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 issue is a CWE-416 use-after-free in GIMP's native XCF image parser. XCF files can contain path/selection objects; if a crafted file references a path and then triggers a load failure, the parser frees the associated object but later uses the dangling pointer in the main process. That memory-corruption condition can cause a crash and, under the right heap layout, may be leveraged for arbitrary code execution in the context of the GIMP process. The CVSS vector AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H confirms a local attack that requires the victim to open the malicious file but does not require prior authentication; impact is confined to the user's privileges, so privilege escalation beyond that user would require a separate 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 (redhat) 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 so AV:L and UI:R; no prior auth needed to supply the file so PR:N; use-after-free enabling code execution in the user context yields C:H/I:H/A:H, scope unchanged.

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:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

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

DescriptionCVE.org

A flaw was found in GIMP. Opening a crafted XCF that selects a path and then fails to load that path can cause a use-after-free in the main process, leading to a crash and potentially arbitrary code execution.

Executive ViewAI

Why It Matters

GIMP as packaged in Red Hat Enterprise Linux 6 through 10 contains a high-severity use-after-free in its XCF loader that can crash the application and, with local user interaction, potentially permit code execution with the opening user's privileges. No public exploit was identified at time of analysis and no vendor patch is currently available, so the primary organizational exposure is to users who open untrusted .xcf files on affected RHEL endpoints. Leadership should care because remediation depends on interim controls and vendor follow-up rather than immediate patching.

Business Impact: Medium
Compensating Controls

No vendor-released patch identified at time of analysis; restrict opening untrusted .xcf files, enforce least privilege and sandboxing for GIMP, filter .xcf attachments at email and web gateways, and monitor vendor advisories for an update.

Threat Intelligence Overview

EPSS Score
0.1%
Top 97% exploitable
Prevalence
Medium
popular open-source desktop image editor, broad but not server-ubiquitous
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 No
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
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
Medium
Technical Impact
Total

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

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:red_hat:red_hat_enterprise_linux_10:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_6:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_7:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_8:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_9:*:*:*:*:*:*:*:*

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

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