CVE-2026-4152

HIGH

GIMP JP2 File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability

Title source: cna
STIX 2.1

Description

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.

References (2)

Core 2
Core References
X_Research Advisory x_research-advisory
ZDI-26-219
https://www.zerodayinitiative.com/advisories/ZDI-26-219/

Scores

CVSS v3 7.8
EPSS 0.0061
EPSS Percentile 44.1%
Attack Vector LOCAL
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-122 CWE-787
Status published
Products (2)
gimp/gimp 3.0.8
GIMP/GIMP 3.0.8
Published Apr 11, 2026
Tracked Since Apr 11, 2026