Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft XCF with out-of-range Levels channel
-
DeliveryDeliver file to victim via email or download
-
ExploitVictim opens file in GIMP
-
ExecutionHeap out-of-bounds read/write triggered
-
ImpactExecute 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
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).
Primary rating from Vendor (redhat).
CVSS VectorVendor: redhat
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
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.
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
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.
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
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
EUVD-2026-137511
GHSA-f8xm-j6xg-cgjc
NVD
CVE.org
EPSS
VulDB
Exploit-DB