Skip to main content
View

Attack ChainAIDerived

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

  1. Access
    Craft malicious DDS image file
  2. Delivery
    Deliver to victim via email or download
  3. Exploit
    Victim opens image in GIMP
  4. Execution
    Integer overflow undersizes heap buffer, GEGL overruns it
  5. Impact
    Execute arbitrary code as user

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, buffer size validation
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 an attacker-crafted DirectDraw Surface (.dds) image file in GIMP, triggering the vulnerable DDS loader path that computes buffer sizes from width, height, and pitch using overflowable 32-bit arithmetic. There is no network attack surface and no authentication to bypass, but the attack is gated by mandatory user interaction (UI:R) and local file access - the victim must be socially engineered into opening the malicious file. The product must have the DDS loader available (default in GIMP), and resulting code execution is confined to the privileges of the user running GIMP (scope unchanged).

Impact

This is a classic 'file-format parser' memory-corruption flaw and the CVSS 3.1 vector (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H, base 7.8 HIGH) tells a consistent story: there is no network attack surface (AV:L) and successful exploitation hinges on a user being tricked into opening a crafted DDS image in GIMP (UI:R). The high C/I/A impacts reflect the worst-case arbitrary code execution in the GIMP process context, but note this runs with the privileges of the invoking user, not root, since scope is unchanged (S:U). No EPSS score, KEV listing, or POC was provided in the intelligence, so there is no public exploit identified at time of analysis and no evidence of active exploitation. The practical risk is therefore moderate-to-low in the near term: weaponizing a heap overflow (following CWE-190 integer overflow in size calculations) through GEGL into reliable code execution is non-trivial, and the local+user-interaction gating means this is not a mass-exploitable remote bug. One data caveat worth flagging for defenders: the CPE and Tags attribute this to Red Hat Enterprise Linux, but the actual vulnerable component is GIMP's DDS loader - Red Hat is the reporter and ships GIMP in RHEL, so the vendor framing is accurate but the affected-product tag (GIMP) is effectively missing.

Exploit ScenarioDerived

An attacker crafts a malicious DirectDraw Surface (.dds) image with width/height/pitch values chosen to overflow 32-bit size arithmetic, then delivers it via email, a web download, or a shared file repository. When a victim opens the file in GIMP, the undersized heap buffer is overrun as GEGL writes pixel data, corrupting the heap and potentially yielding arbitrary code execution as the user running GIMP. No public exploit code was identified at time of analysis, and because the vector is local with required user interaction (UI:R), the attacker must rely on social engineering to get the file opened.

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 06, 2026

Heap-based buffer overflow in GIMP's DirectDraw Surface (DDS) loader allows attackers to corrupt memory and potentially execute arbitrary code by convincing a user to open a crafted .dds image. The flaw affects GIMP as shipped in Red Hat Enterprise Linux 6, 7, 8, 9, and 10, and requires local file access plus user interaction (opening the malicious file) with no authentication required per the CVSS vector (PR:N). No public exploit code has been identified at time of analysis, and exploitation is limited to the privileges of the user running GIMP.

RemediationAI

No vendor-released patch identified at time of analysis. Monitor the Red Hat advisory at https://access.redhat.com/security/cve/CVE-2026-106062 and Bugzilla at https://bugzilla.redhat.com/show_bug.cgi?id=2546654 for updated GIMP packages, and apply them when available. Until a fix is released, avoid opening untrusted or unexpected .dds files with GIMP - the primary attack vector requires the victim to open a malicious image. Additional compensating controls include running GIMP under a sandbox (e.g., Flatpak, Firejail, or an AppArmor profile) to limit the impact of memory corruption, and operating GIMP with a low-privilege user account so that any code execution is confined. If DDS image support is not required, consider removing or disabling the DDS loader; however, this will prevent legitimate DDS files from loading and may require rebuilding or modifying the GIMP installation. User awareness training should emphasize that opening image files from untrusted sources remains the critical exploitation step.

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 vulnerability resides in the DDS image loader used by GIMP. DDS is a Microsoft DirectDraw Surface container format that stores compressed or uncompressed pixel data. When GIMP parses a crafted DDS file, buffer sizes derived from the image width, height, and pitch are computed using 32-bit arithmetic that can overflow (CWE-190). This integer overflow causes an undersized heap buffer to be allocated; the loader then writes pixel data through GEGL (GIMP's image processing library), resulting in a heap-based out-of-bounds write (CWE-787) and memory corruption. The provided CWE-119 covers the buffer overflow class. CPE data ties affected distributions to Red Hat Enterprise Linux 6, 7, 8, 9, and 10, where GIMP packages are maintained by Red Hat. The CVSS vector (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H) confirms a local, user-assisted attack with no authentication prerequisite and unchanged scope.

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

Exploitation requires opening a local crafted file (AV:L, UI:R) with no privileges (PR:N); successful heap corruption can yield code execution in the user's context, giving 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: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 heap-based buffer overflow was found in GIMP’s DirectDraw Surface (DDS) loader. When loading a crafted DDS image, buffer sizes derived from width, height, and pitch can be computed using 32-bit arithmetic that overflows. The allocated buffer is too small for the amount of pixel data written through GEGL (CWE-787), following integer overflow in size calculations (CWE-190). This may allow heap corruption and, in the worst case, arbitrary code execution in the context of the GIMP process.

Executive ViewAI

Why It Matters

GIMP users across Red Hat Enterprise Linux 6 through 10 are exposed to a memory-corruption flaw that can lead to code execution under the user's own account when they open a malicious .dds image. No vendor-released patch identified at time of analysis, and exploitation requires only local file access and user interaction, unauthenticated per the CVSS vector (PR:N). Although no public exploit identified at time of analysis, unpatched endpoints remain vulnerable until interim mitigations or vendor updates are deployed, making this a high-priority patch-readiness and user-awareness issue for leadership.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include restricting or blocking untrusted .dds files at email, web, and file-transfer gateways; instructing users not to open .dds images from untrusted sources; running GIMP only under low-privilege accounts; removing GIMP from systems where it is not required; and using application sandboxing, SELinux, or AppArmor confinement where supported, while monitoring Red Hat and GIMP advisories for a fixed release.

Threat Intelligence Overview

EPSS Score
0.1%
Top 96% exploitable
Prevalence
Medium
GIMP is a popular open-source image editor bundled across many Linux distributions
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor VulDB

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
High
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.

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