GIMP JP2 File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability
21Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 7.8epss 0.6%
exploitation probability
0.6%top 56% of all CVEs
observed exploitation
nono source reports it
In short
GIMP has a critical flaw when opening malicious JP2 image files that can allow an attacker to run harmful code on your computer. The problem occurs because the software doesn't properly check the size of data before copying it into memory.
Technical detail
A heap-based buffer overflow exists in GIMP's JP2 file parser due to insufficient validation of user-supplied data length before copying to a heap buffer. An attacker can craft a malicious JP2 file that, when opened by a user, triggers the overflow and enables arbitrary code execution in the GIMP process context.
Summary generated and translated by AI from the official 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-28248.
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected products
GIMP · GIMP