CVE-2025-15059
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
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| gimp | gimp | 3.0.6 |
Helpful Resources
Exploitability
| 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]