Skip to main content
View

Attack ChainAIDerived

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

  1. Access
    Craft XCF with out-of-range Levels channel
  2. Delivery
    Deliver file to victim via email or download
  3. Exploit
    Victim opens file in GIMP
  4. Execution
    Heap out-of-bounds read/write triggered
  5. Impact
    Execute code as opening user

Vulnerability Assessment

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

1 technique across 1 tactic: Collection

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 victim to open, within GIMP, a maliciously crafted XCF file that contains a non-destructive Levels filter whose channel enum is set to an out-of-range value (the description cites LUMINANCE or RGB); opening such a file causes the Levels configuration setter to index fixed-size per-channel arrays out of bounds. No special non-default configuration is needed beyond GIMP's normal ability to open XCF files. Limiting factors that reduce real-world risk: the attack vector is local (AV:L) and mandatory user interaction is required (UI:R) - the user must be convinced to open the attacker-supplied file - and the resulting code, if execution is achieved, runs only with the privileges of the user opening the file (no privilege escalation or scope change, S:U).

Impact

This is a moderate-priority, not emergency, issue. The CVSS 3.1 vector (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H, base 7.8) describes a classic client-side 'open a malicious file' flaw: the attack vector is LOCAL and requires user interaction (the victim must open a crafted XCF file), which sharply constrains real-world exploitability compared with a network-reachable bug. High C/I/A impact reflects the heap out-of-bounds read and write, which the description says may lead to crash or arbitrary code execution, but code execution against modern heap/ASLR/stack-canary mitigations is not guaranteed and is not demonstrated in the supplied sources. No EPSS score is provided, so exploitation probability cannot be quantified. KEV status is not present in the input, so there is no confirmed active exploitation. The only references are the upstream GNOME GitLab fix commit and issue plus the Red Hat advisory - these are patch/tracking artifacts, not working exploit code, so this is no public exploit identified at time of analysis. The vuln.today decision label is 'this_week,' consistent with a patch-promptly posture rather than drop-everything urgency. Net: a genuinely dangerous memory-corruption bug in a widely used desktop application, but the local vector plus mandatory user interaction make it a targeted social-engineering risk rather than a mass-exploitation threat.

Exploit ScenarioDerived

An attacker crafts a malicious XCF project file containing a non-destructive Levels filter whose channel enum is set out of range (e.g., LUMINANCE or RGB), then delivers it to a victim via email, chat, a shared drive, or a download. When the victim opens the file in GIMP, the Levels configuration setter indexes a fixed-size per-channel array out of bounds, triggering a heap out-of-bounds read and write that can crash GIMP or potentially execute code in the opening user's context. No public exploit identified at time of analysis; only the upstream fix commit and issue are referenced.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 27, 2026

Heap out-of-bounds read and write in GIMP's Levels filter configuration handling can crash the application or potentially allow arbitrary code execution when a user opens a maliciously crafted XCF file. The flaw is reachable through GIMP's normal file-open path - an XCF containing a non-destructive Levels filter whose channel enum is set to an out-of-range value (LUMINANCE or RGB) causes the configuration setter to index fixed-size per-channel arrays outside their bounds. Scoring is CVSS 3.1 7.8 with a local vector and mandatory user interaction (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H), meaning the attacker must deliver the file and convince a user to open it, and any resulting code runs only with that user's privileges; no public exploit was identified at time of analysis and the issue is not in CISA KEV.

RemediationAI

The primary fix is the upstream GIMP commit 47f51b5b538cf1b27634b4c6f4f98b553138dbad (referenced alongside https://gitlab.gnome.org/GNOME/gimp/-/issues/17004), which addresses the missing validation of the Levels channel enum before array indexing; the supplied data does not state a released GIMP version number containing that commit, so the exact fixed build must be confirmed from the upstream issue or the distribution advisory rather than assumed. For Red Hat Enterprise Linux 6, 7, 8, and 9, track https://access.redhat.com/security/cve/CVE-2026-137941 for the updated GIMP package builds and apply them when published. Because the trigger is a local file-open with mandatory user interaction (AV:L/UI:R) and no special configuration is required, the practical exposure control while patched packages are pending is to avoid opening XCF project files from untrusted or unverified sources in GIMP; note that this restricts a core workflow (opening third-party XCF projects) and does not protect against a user who opens the file anyway, and the sources do not describe any additional vendor-supplied workaround or configuration toggle beyond updating.

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

XCF is GIMP's native project format, and modern GIMP stores non-destructive filter settings (including Levels adjustments) inside it, so opening a project file re-instantiates those filter configurations. The Levels configuration setter is supposed to accept a channel selector that identifies which of a fixed set of per-channel arrays a subsequent operation reads or writes; the sources state it uses the supplied enum value directly as an array index without first validating that the value falls inside the enum's defined range. A crafted XCF that specifies the out-of-range values LUMINANCE or RGB therefore drives an index past the end of the fixed-size per-channel arrays, producing a heap out-of-bounds read and write (tracked as CWE-125, out-of-bounds read; the description also notes the out-of-bounds write component). The classes of impact follow from that memory corruption: a crash, disclosure of adjacent heap contents, or potentially arbitrary code execution in the context of the process. The exact heap layout and allocation adjacency that would govern exploitability are not described in the available sources, and the trigger path documented is limited to opening the crafted file in GIMP with no non-default configuration required. Upstream handling is visible in GNOME GitLab issue 17004 and fix commit 47f51b5b538cf1b27634b4c6f4f98b553138dbad.

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

Triggered by opening a crafted local file (AV:L, UI:R) with no attacker privileges (PR:N); heap OOB read and write give full confidentiality, integrity, and availability impact within the user's context (S:U).

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
Red Hat 7.8 HIGH

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. The Levels configuration setter does not validate the channel enum before using it to index fixed-size per-channel arrays. A crafted XCF file with a non-destructive Levels filter can set an out-of-range channel (LUMINANCE or RGB), causing a heap out-of-bounds read and write when the file is opened. This may lead to a crash or arbitrary code execution.

Executive ViewAI

Why It Matters

A high-severity memory corruption flaw in GIMP's Levels filter, triggered when a user opens a specially crafted XCF image file, can crash the application or potentially allow code execution with the user's privileges. Any employee who routinely opens third-party image files is exposed, so a successful attack could compromise individual workstations and the data accessible to those users. Leadership should care because file-opening is an everyday workflow, making this a realistic vector for targeted intrusion into creative and general office environments.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis; interim options include blocking untrusted XCF files at email and web gateways, running GIMP with least privilege or in a sandbox, and restricting the application to users who genuinely need it.

Threat Intelligence Overview

EPSS Score
0.3%
Top 89% exploitable
Prevalence
Medium
popular open-source desktop image editor, broad but non-server/desktop-only footprint
Social Media
4
Sightings
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.3%
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· derived
Scheduled
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

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.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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_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

Vendor StatusVendor

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