CVE-2025-15059
Unknown Unknown - Not Provided
Heap-Based Buffer Overflow in GIMP PSP Parser Enables RCE

Publication date: 2026-01-23

Last updated on: 2026-02-26

Assigner: Zero Day Initiative

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-28232.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-01-23
Last Modified
2026-02-26
Generated
2026-05-07
AI Q&A
2026-01-23
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
gimp gimp 3.0.6
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-122 A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().
CWE-787 The product writes data past the end, or before the beginning, of the intended buffer.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability is a heap-based buffer overflow in GIMP's PSP file parsing functionality. It occurs because the software does not properly validate the length of user-supplied data before copying it into a heap buffer. An attacker can exploit this flaw by tricking a user into opening a malicious PSP file or visiting a malicious page, which allows the attacker to execute arbitrary code within the context of the current process. [1]


How can this vulnerability impact me? :

If exploited, this vulnerability can allow an attacker to execute arbitrary code on your system with the privileges of the user running GIMP. This can lead to a complete compromise of confidentiality, integrity, and availability of your data and system, potentially resulting in unauthorized access, data theft, or system disruption. [1]


How can this vulnerability be detected on my network or system? Can you suggest some commands?

Detection of this vulnerability involves monitoring for attempts to open or process malicious PSP files in GIMP, as exploitation requires user interaction with such files. There are no specific commands provided to detect the vulnerability directly. However, you can check the version of GIMP installed to determine if it is vulnerable by running commands like 'gimp --version' on your system. Additionally, monitoring file access logs for PSP files or suspicious activity related to GIMP may help identify exploitation attempts. [1]


What immediate steps should I take to mitigate this vulnerability?

The immediate mitigation step is to update GIMP to the latest version that includes the fix for this vulnerability. Avoid opening PSP files from untrusted sources and educate users about the risks of opening malicious files. Applying the official patch or update released by GIMP will address the heap-based buffer overflow issue. [1]


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart