GIMP
CVE-2025-10921
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDeliver malicious HDR file to victim
-
DeliveryVictim opens file in GIMP
-
ExploitOverflow heap buffer during HDR parsing
-
ExecutionCorrupt heap and hijack control flow
-
ImpactExecute arbitrary code as current user
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap 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 an attacker-controlled Radiance HDR (.hdr) image file in GIMP (or a page that causes such a file to be opened), triggering the vulnerable HDR parser in the GEGL library that fails to validate the length of user-supplied data before copying it to a heap buffer. The key limiting factors are: no remote network trigger (AV:L) and mandatory user interaction (UI:R), meaning the attack cannot succeed without social engineering; exploitation runs only with the privileges of the user who opened the file (no privilege escalation implied); and it is constrained to installations processing the HDR format via vulnerable GEGL/GIMP builds (GIMP 3.0.4 and the GEGL version shipped on Debian 11 are the confirmed affected references). |
| Impact | This is a credible but not emergency-priority vulnerability. The CVSS 3.0 base score of 7.8 (HIGH) is driven by the triple-High impact (C:H/I:H/A:H) and low attack complexity, but the local attack vector (AV:L) and required user interaction (UI:R) substantially temper real-world risk: exploitation is not remote-automatable and depends on a victim opening a malicious HDR file or visiting a page that delivers one. Note the common ZDI framing tension - the description calls these 'remote attackers' and references a malicious page, yet the CVSS vector is correctly AV:L because the attacker does not touch the target directly; code runs only when the user locally opens attacker-supplied content. No EPSS score, SSVC decision, KEV listing, or public POC is present in the provided data, so there is no evidence of active exploitation or mass-scanning pressure - consistent with a file-format parser bug that requires social engineering rather than a server-side flaw. The CWE-122 heap overflow with lack of length validation is a classic memory-corruption primitive, and a vendor patch exists (GEGL commit), so the practical priority is to patch GIMP/GEGL on desktop and multi-user systems and treat untrusted HDR files as suspect, rather than to respond as if to a wormable remote threat. |
| Exploit ScenarioDerived | An attacker crafts a malicious Radiance HDR image file with a length field that overflows a heap buffer in GIMP's parsing routine (implemented in the GEGL library) and sends it to a victim via email, a shared drive, or a web page offering a downloadable image. When the victim opens the file in GIMP, the oversized user-supplied data is copied into the heap buffer, corrupting memory and allowing arbitrary code execution in the context of the GIMP process. No public exploit was identified at time of analysis, so this scenario is based on the described flaw rather than a confirmed weaponized sample. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 19, 2026
Heap-based buffer overflow in GIMP 3.0.4's Radiance HDR file parsing, handled through the GEGL library, can execute arbitrary code in the context of the user who opens a crafted .hdr file. Confirmed affected references are GIMP 3.0.4 and the GEGL build shipped with Debian 11; exploitation requires user interaction with a malicious file and runs only with the opening user's privileges. No public exploit or CISA KEV entry is identified at time of analysis, and a vendor patch is available.
RemediationAI
Patch available per vendor advisory and upstream fix commit: apply the GEGL correction at https://gitlab.gnome.org/GNOME/gegl/-/commit/0e68b7471dabf2800d780819c19bd5e6462f565f, update GIMP to a release containing that commit, and update Debian 11 systems using the fixed packages announced at https://lists.debian.org/debian-lts-announce/2025/10/msg00021.html; exact patched version numbers are not specified in the provided data, so verify the fixed build with the vendor. Until patched, avoid opening untrusted .hdr files, remove or restrict HDR file associations for GIMP, and run GIMP in a sandbox or low-privilege account; these reduce exposure but do not eliminate the parser flaw and may disrupt legitimate HDR workflows.
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 relies on the GEGL library for decoding Radiance HDR (.hdr) images, and the flaw is a CWE-122 heap-based buffer overflow caused by insufficient validation of a user-supplied length field before copying data into a heap buffer. A crafted HDR file can therefore overwrite heap memory and redirect execution within the GIMP process. The assessed CVSS vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H confirms no privileges are required (PR:N) but exploitation is local (AV:L) and demands user interaction (UI:R), consistent with opening a malicious file rather than a network-triggered attack. CPE references identify GIMP 3.0.4 and Debian Linux 11.0 as the confirmed affected products, with the vulnerable parser in the GEGL code path.
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
File-parsing bug needs no privileges (PR:N) but requires the user to open a malicious HDR file (AV:L, UI:R); memory corruption yields full code execution, so C/I/A all High.
Primary rating from Vendor (trendmicro).
CVSS VectorVendor: trendmicro
DescriptionCVE.org
GIMP HDR File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of GIMP. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.
The specific flaw exists within the parsing of HDR files. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-27803.
Executive ViewAI
CVE-2025-10921 is a high-severity heap buffer overflow in GIMP 3.0.4's Radiance HDR parsing through GEGL that can allow a crafted .hdr file to execute code with the permissions of the user who opens it. Leadership should care because staff handling untrusted image files on affected GIMP 3.0.4 or Debian 11 GEGL deployments could face code execution on their workstations, although no public exploit has been identified at time of analysis and a vendor patch is available.
Apply vendor patch.
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.
A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.
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
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB