Skip to main content
View

Attack ChainAIDerived

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

  1. Access
    Craft malicious grayscale PSD file
  2. Delivery
    Deliver file to victim via email/share
  3. Exploit
    Victim opens or browses file in GIMP
  4. Execution
    Fixed-stride BGR→RGB swap overruns heap buffer
  5. Persist
    Heap out-of-bounds read and write
  6. Impact
    Crash or arbitrary code execution in plug-in

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Stack buffer bounds checking
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 or browse (thumbnail-preview) a crafted PSD file in GIMP, and that PSD must embed a grayscale (non-RGB) JPEG thumbnail resource - the loader unconditionally performs a BGR-to-RGB channel swap with a hard-coded 3-byte stride without verifying the thumbnail is RGB, so a 1-channel grayscale thumbnail drives the out-of-bounds access. Limiting factors that reduce realistic risk: the attack is local (AV:L) with no network path, it requires user interaction (UI:R) to open or preview the file, and it depends on GIMP being the handler for the malicious PSD; it does not require any authentication or special privileges (PR:N) and works against default GIMP behavior once the file is opened.

Impact

The CVSS 3.1 base score of 7.8 (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H) is driven by the high triple-impact (confidentiality/integrity/availability), but the Local attack vector and Required user interaction substantially temper real-world urgency - this is not a remotely-reachable server flaw but a client-side file-parsing bug that needs a victim to open or browse a malicious file. No EPSS score, KEV listing, or POC is present in the provided data, so exploitation status is 'no public exploit identified at time of analysis.' There is no signal of active exploitation or weaponization. A notable internal conflict: the CWE is CWE-121 (stack-based buffer overflow) and the Tags include 'Stack Overflow,' yet the description explicitly describes a heap out-of-bounds read and write - the heap description and CWE-121 disagree, so the exact memory-corruption primitive should be verified with the Red Hat/GIMP advisory. Overall this is a legitimate but moderate-priority client-side vulnerability: patch in normal cycles, prioritize on multi-user or analyst workstations that routinely open untrusted image files, rather than treating it as an emergency.

Exploit ScenarioDerived

An attacker crafts a malicious PSD file containing a grayscale (non-RGB) JPEG thumbnail resource and delivers it to a victim via email, download, or a shared directory. Because the AV:L/UI:R vector requires local interaction, the victim must open the file in GIMP - or merely browse a folder where GIMP generates thumbnails - at which point the fixed 3-byte BGR-to-RGB stride swap reads and writes past the heap buffer, causing a crash and potentially arbitrary code execution in the plug-in process. No public exploit code is identified in the provided data, so this is a plausible but currently theoretical attack path.

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

Heap out-of-bounds read and write in GIMP's PSD thumbnail resource loader allows memory corruption when a victim opens or thumbnail-previews a crafted PSD file containing a grayscale JPEG thumbnail, potentially leading to code execution in the plug-in process. The loader assumes a 3-byte BGR stride and never validates that the embedded thumbnail is RGB, so a single-channel grayscale image drives out-of-bounds indexing. Rated CVSS 7.8 (AV:L/UI:R/PR:N) - a client-side file-parsing bug with no network reachability; no public exploit code identified at time of analysis, and Red Hat tracks it across RHEL 6 through 10.

RemediationAI

Upgrade to the GIMP package version listed in the Red Hat errata for CVE-2026-112257 (see https://access.redhat.com/security/cve/CVE-2026-112257 and https://bugzilla.redhat.com/show_bug.cgi?id=2555574); the fix adds validation that the embedded thumbnail is actually RGB before performing the BGR-to-RGB swap, so no exact upstream version number should be assumed beyond the vendor advisory. If patching must be deferred, the highest-value compensating control is to stop untrusted PSDs from reaching the loader: disable PSD thumbnail previews in the file manager (e.g. turn off thumbnailers for image/x-psd in GNOME/Nautilus or Thunar) so merely browsing a directory no longer parses the file - trade-off is loss of previews for all PSDs, not just malicious ones. Additionally, avoid opening PSD files from untrusted sources, or open them only inside a sandboxed/containerized GIMP instance or a VM with no valuable credentials, accepting reduced workflow convenience. Because exploitation is local and requires user interaction (AV:L/UI:R), email/web gateway attachment filtering for PSD files and restricting GIMP's file associations to trusted document locations measurably shrink the attack surface without functional loss to core editing work.

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 PSD plug-in parses Adobe Photoshop resources, including embedded JPEG thumbnails, and converts them from BGR to RGB before display. That conversion hard-codes a 3-byte-per-pixel stride and never checks the JPEG's declared color model, so a genuinely grayscale (1-channel) thumbnail causes the loop to walk past the end of the allocated buffer - a classic CWE-121 stack/heap boundary failure manifesting as a heap out-of-bounds read and write inside the plug-in process (plug-ins are separate processes from the GIMP core, which confines some but not all of the corruption). Because the out-of-bounds write lands in the plug-in's heap, exploitability hinges on heap layout control via the surrounding PSD chunks; the crash path is trivial while reliable code execution requires more work. Affected CPEs are Red Hat Enterprise Linux 6, 7, 8, 9 and 10, i.e. the distribution-packaged GIMP builds; upstream GIMP is the underlying project. Tags mention buffer/stack overflow generically, but the authoritative assessment is a heap out-of-bounds access triggered by an RGB-assumption in the thumbnail channel-swap routine.

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

Local file-parsing bug needing the victim to open/browse the file gives AV:L and UI:R; no privileges needed (PR:N), and heap read+write enabling code execution justifies C:H/I:H/A:H.

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 (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 PSD thumbnail resource loader performs a BGR-to-RGB channel swap with a fixed 3-byte stride and does not verify that the JPEG thumbnail is RGB. A crafted grayscale PSD thumbnail can cause a heap out-of-bounds read and write in the plug-in process, leading to a crash and potentially arbitrary code execution when the victim browses or opens the file.

Executive ViewAI

Why It Matters

GIMP's PSD thumbnail loader contains a heap memory corruption vulnerability that could allow code execution when a user opens a specially crafted PSD file. This affects design and creative teams who exchange PSD files with external parties, and leadership should prioritize interim controls because no vendor patch is available and a successful exploit could compromise user accounts and sensitive project data.

Business Impact: Medium
Compensating Controls

Disable PSD thumbnail previews, block untrusted PSD files at email and web gateways, run GIMP in a sandboxed or low-privilege environment, enforce application allowlisting, and monitor for GIMP crashes or abnormal plug-in behavior.

Threat Intelligence Overview

EPSS Score
0.1%
Top 97% exploitable
Prevalence
Medium
popular open-source image editor, common on Linux desktops not servers
Data Quality
4 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

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.

A stack-based buffer overflow occurs when a program writes more data to a buffer located on the stack than it was allocated to hold.

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

Vendor StatusVendor

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