CVE-2026-4153
GIMP PSP File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability
In short
GIMP crashes or runs malicious code when opening a specially crafted PSP image file. An attacker can trick a user into opening a malicious file to take control of their computer.
Technical detail
A heap-based buffer overflow exists in GIMP's PSP file parser due to insufficient validation of user-supplied data length before copying to a heap buffer. Remote code execution is achieved when a user opens a malicious PSP file; the attack requires user interaction and executes with the privileges of the GIMP process.
Summary generated and translated by AI from the official description.
GIMP PSP 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 PSP 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-28874.
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected products
GIMP · GIMPWant to know if your infrastructure is exposed to this?
Talk to TrueHacking →