← back
CVE-2023-44442

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

CVSS 7.8 HIGHEPSS 61.4%CWE-122
In short

GIMP has a flaw in how it reads PSD image files that allows attackers to crash the program or run malicious code if you open a specially crafted PSD file. This happens because the program doesn't properly check the size of data before storing it in memory.

Technical detail

A heap-based buffer overflow exists in GIMP's PSD file parser due to insufficient validation of user-supplied data length before copying to a heap buffer. Remote attackers can exploit this by crafting malicious PSD files; user interaction (opening the file) is required. Successful exploitation results in arbitrary code execution within the GIMP process context.

Summary generated and translated by AI from the official description.
GIMP PSD 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 PSD 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 arbitrary code in the context of the current process. Was ZDI-CAN-22094.
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected products
GIMP · GIMP

Want to know if your infrastructure is exposed to this?

Talk to TrueHacking →