Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDeliver crafted oversized image to user
-
DeliveryUser opens and exports via raw plug-in
-
ExploitInteger overflow under-allocates heap buffer
-
ExecutionGEGL writes past allocation
-
ImpactHeap corruption and code execution
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 actively export a very large image through GIMP's raw data export plug-in, where width × height × bytes-per-pixel overflows during g_malloc() sizing; the triggering image must be large enough to wrap the integer calculation, and the victim must initiate the export. Limiting factors per the CVSS vector: the vector is local (AV:L) so no remote/network reach, user interaction is mandatory (UI:R), attack complexity is high (AC:H) because the overflow depends on crafting dimensions that overflow the size computation, and there is no confidentiality impact (C:N). No special non-default configuration is named - the raw export plug-in is standard GIMP functionality - but the dependence on user-driven export and specific image dimensions substantially constrains real-world exploitation. |
| Impact | This is a genuinely moderate-priority issue, not a critical one, and the signals are consistent rather than conflicting. The provided CVSS 3.1 vector (AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:H, base 6.3) describes a local, user-interaction-dependent, high-complexity flaw - the attacker cannot reach it over a network and must convince a user to export a specially crafted/very large image in GIMP, and the integer-overflow condition itself (width × height × bytes-per-pixel exceeding allocation sizing) is non-trivial to hit reliably, justifying AC:H. No EPSS score, KEV listing, or public POC is present in the supplied data, so exploitation status is 'no public exploit identified at time of analysis.' There is no contradiction between the signals: low real-world urgency aligns with a local/UI-gated desktop bug carrying no confidentiality impact. The main caveat is attribution - the CPEs and tags describe Red Hat Enterprise Linux releases, but the actual vulnerable component is the GIMP raw-data export plug-in shipped within those distributions; defenders should patch GIMP specifically. Memory-corruption flaws of this class can sometimes escalate beyond the stated I:H/A:H to code execution, so treat the 6.3 as a floor, not a ceiling, pending vendor confirmation. |
| Exploit ScenarioDerived | An attacker distributes a malicious or deliberately oversized image project and persuades a GIMP user to open it and export it via the raw data export plug-in. During export, the integer overflow in width × height × bytes-per-pixel causes g_malloc() to under-allocate, and GEGL then reads/writes past the heap buffer, corrupting memory and crashing or potentially enabling code execution in the user's context. No public exploit code is identified at time of analysis, and the attack requires the victim to perform the export action. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 07, 2026
Exporting an oversized image through GIMP's raw data export plug-in can under-allocate a heap buffer and cause an out-of-bounds write on the heap, with the failure originating in an integer overflow in the g_malloc() size computation (width × height × bytes-per-pixel). Per the CVSS 3.1 vector (AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:H), exploitation is local-only, requires the victim to actively start the export, requires no privileges (PR:N), and is gated by high attack complexity because the image dimensions must be crafted so the size arithmetic wraps; the assessment rates confidentiality impact as none and integrity/availability impact as high. No public exploit code and no confirmed active exploitation (no CISA KEV listing) were identified at time of analysis, and the EPSS-style signals provided are consistent with a moderate-priority rather than critical issue, since the plug-in is standard GIMP functionality but the trigger depends on user-driven export of deliberately large images.
RemediationAI
No vendor-released patch was identified at time of analysis from the supplied data; the Red Hat tracking advisory at https://access.redhat.com/security/cve/CVE-2026-106066 and the Bugzilla record at https://bugzilla.redhat.com/show_bug.cgi?id=2547459 should be monitored for the fixed GIMP package versions and errata once they are published, and the upgrade should be applied as soon as distro packages are available. Until then, compensate by raising the barrier at the trigger point rather than relying on generic hardening: restrict or disable the raw data export plug-in for untrusted users (for example, removing or permission-restricting the raw export plug-in binary in the GIMP plug-ins directory so the export path cannot be invoked), accepting the trade-off that legitimate raw export functionality is lost; cap the dimensions and pixel count of images that may be opened and exported, since the overflow requires a width × height × bytes-per-pixel computation large enough to wrap, at the cost of blocking some legitimate very-high-resolution workflows; and run GIMP under confinement (containerized, sandboxed via flatpak/seccomp/AppArmor, or as a low-privilege dedicated account with limited filesystem write access) so an out-of-bounds heap write degrades to a crash or confined corruption rather than arbitrary code execution in the user's context, with the trade-off of reduced access to host files and devices. Note that the vector is local with mandatory user interaction (AV:L/UI:R) and no privileges required (PR:N), so the practical exposure is limited to attackers who can persuade a user to export a crafted oversized image - avoid processing image projects from untrusted sources and treat such export requests as untrusted input. Because no public exploit code has been identified, these measures are precautionary rather than responses to observed attacks.
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 affected component is GIMP's raw data export plug-in, which hands image data to GEGL, GIMP's image-processing and buffer-management library, during export. The plug-in computes the buffer size for the raw export as width × height × bytes-per-pixel using signed/unsigned integer arithmetic that can wrap when the source image is very large; because g_malloc() is then called with this wrapped (undersized) value, the allocated heap region is far smaller than the byte count GEGL subsequently reads from or writes to, producing the heap-based buffer overflow. The root cause class is CWE-119 (improper restriction of operations within the bounds of a memory buffer), with an integer-overflow precondition preceding the out-of-bounds access - this is a length-computation flaw rather than a classic bounds-check omission on an input index. The supplied CPE strings describe Red Hat Enterprise Linux 6, 7, 8, 9 and 10 as the affected distribution platforms, reflecting where the GIMP packaging ships, rather than pinning a specific GIMP build; the upstream project and any distribution carrying the raw export plug-in should be treated as affected until vendor advisories enumerate fixed builds. Practical exploitation is constrained by the local vector and mandatory user interaction, and no server-side or networked attack surface is implicated.
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:H/PR:N/UI:R/S:U/C:N/I:H/A:H
Local because exploitation requires opening/exporting a file in GIMP (AV:L, UI:R); crafting dimensions that overflow allocation sizing warrants AC:H; no auth needed (PR:N); memory corruption impacts integrity and availability, not confidentiality.
Primary rating from Vendor (redhat).
CVSS VectorVendor: redhat
DescriptionCVE.org
A heap-based buffer overflow was found in GIMP’s raw data export plug-in. When exporting very large images, g_malloc() sizing based on overflowing width * height * bytes-per-pixel can allocate far less memory than GEGL reads or writes during export, following integer overflow
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.
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-94528
GHSA-pvrh-mq3q-6r8f
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB