Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious DDS image file
-
DeliveryDeliver to victim via email or download
-
ExploitVictim opens image in GIMP
-
ExecutionInteger overflow undersizes heap buffer, GEGL overruns it
-
ImpactExecute 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
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.
Primary rating from Vendor (redhat).
CVSS VectorVendor: redhat
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
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.
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
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.
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-93983
GHSA-cqfx-pmhf-jmh6
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB