Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious JP2 file
-
DeliveryUser opens file in GIMP
-
ExploitParser fails to validate data length
-
ExecutionHeap buffer overflow occurs
-
ImpactArbitrary code execution in GIMP context
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 | Local attacker. Victim must open a malicious JP2 image file in GIMP. The vulnerability exists in GIMP's JP2 file parser which lacks proper validation of user-supplied data length before copying to a heap buffer. |
| Impact | Heap-based buffer overflow in GIMP's JP2 parser enables unauthenticated RCE with high impact (confidentiality, integrity, availability). Local attack vector and low complexity lower barrier; user interaction required mitigates broader reach. Moderate observed exploitation activity. Risk depends on JP2 file prevalence in user workflows. |
| Exploit ScenarioDerived | Attacker crafts malicious JP2 file with oversized payload in file header. Victim opens file in GIMP; parser lacks length validation, writes attacker-controlled data to heap, overwrites function pointers. Execution occurs in GIMP process context. No public exploit identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 11, 2026
Heap-based buffer overflow in GIMP's JP2 image parser enables unauthenticated remote code execution when users open crafted JPEG 2000 files. The vulnerability stems from insufficient validation of user-supplied data length before copying to heap memory, allowing attackers to execute arbitrary code with user privileges. Exploitation requires social engineering to convince targets to open malicious JP2 files. No public exploit identified at time of analysis.
RemediationAI
Upstream fix available (PR/commit); released patched version not independently confirmed. GIMP development team published remediation commit f64c9c23ba3c37dc7b875a9fb477c23953b4666e addressing the heap overflow in JP2 parsing logic. Users should monitor official GIMP release channels for patched builds incorporating this commit. Until patched version deployment, avoid opening untrusted JP2 files from unknown sources. Disable automatic JP2 preview generation in file managers. Consider sandboxing GIMP processes using AppArmor, SELinux, or containerization to limit code execution impact. Advisory: https://gitlab.gnome.org/GNOME/gimp/-/commit/f64c9c23ba3c37dc7b875a9fb477c23953b4666e and https://www.zerodayinitiative.com/advisories/ZDI-26-219/
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
CWE-122 heap overflow occurs during JP2 file parsing due to missing bounds checking on user-controlled length fields before heap buffer copy operations. The flaw resides in GIMP's JPEG 2000 codec implementation, where unconstrained memcpy-style operations write attacker-controlled data beyond allocated heap boundaries, enabling memory corruption and control-flow hijacking.
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
Primary rating from Vendor (zdi).
CVSS VectorVendor: zdi
DescriptionCVE.org
GIMP JP2 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 JP2 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-28863.
Executive ViewAI
CVE-2026-4152 is a critical remote code execution vulnerability in GIMP's JPEG 2000 image parser that allows attackers to execute arbitrary code on user systems through crafted image files. Any employee using GIMP to open untrusted JP2 files faces complete system compromise, making this a significant risk for organizations where image editing is part of normal workflows or where GIMP is used in content creation, design, or media processing functions.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable GIMP or restrict user access via endpoint controls until patch is available; (2) Block .jp2 file extensions at email gateways and file sharing platforms; (3) Implement application whitelisting to prevent arbitrary code execution; (4) Educate users not to open JP2 files from untrusted sources; (5) Monitor GIMP vendor advisories daily for patch release; (6) Consider deploying GIMP in sandboxed/isolated environments if business-critical usage cannot be suspended.
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.
Related Vulnerabilities in GIMP File Parsing Remote Code Execution
View all 5Buffer 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
Same weakness CWE-122 – Heap-based Buffer Overflow
View allVendor StatusVendor
SUSE
Severity: High| Product | Status |
|---|---|
| SUSE Liberty Linux 9 | Fixed |
| SUSE Linux Enterprise Desktop 15 SP7 | Fixed |
| SUSE Linux Enterprise Module for Package Hub 15 SP7 | Fixed |
| SUSE Linux Enterprise Server 15 SP7 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 15 SP7 | Fixed |
| SUSE Linux Enterprise Workstation Extension 15 SP7 | Fixed |
| SUSE Linux Enterprise Server 15 SP4 | Fixed |
| SUSE Linux Enterprise Server 15 SP5 | Fixed |
| SUSE Linux Enterprise Server 15 SP6 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | Fixed |
| SUSE Linux Enterprise Desktop 15 SP4 | Fixed |
| SUSE Linux Enterprise Desktop 15 SP5 | Fixed |
| SUSE Linux Enterprise Desktop 15 SP6 | Fixed |
| SUSE Linux Enterprise Module for Package Hub 15 SP4 | Fixed |
| SUSE Linux Enterprise Module for Package Hub 15 SP5 | Fixed |
| SUSE Linux Enterprise Module for Package Hub 15 SP6 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | Fixed |
| SUSE Linux Enterprise Workstation Extension 15 SP4 | Fixed |
| SUSE Linux Enterprise Workstation Extension 15 SP5 | Fixed |
| SUSE Linux Enterprise Workstation Extension 15 SP6 | Fixed |
| openSUSE Leap 15.4 | Fixed |
| openSUSE Leap 15.5 | Fixed |
| openSUSE Leap 15.6 | Fixed |
EUVD-2026-21633
NVD
CVE.org
EPSS
Vulnrichment
VulDB
GitHub PoC
Exploit-DB