ZDI-CAN-28232: ZDI-25-1196: 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.
Other sources
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 ZDI has assigned a CVSS rating of 7.8. The following CVEs are assigned: CVE-2025-15059.
— ZDI
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Patch ZDI-25-1196 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Patch CVE-2025-15059
Event History
Frequently Asked Questions
What is the severity of ZDI-CAN-28232?
ZDI-CAN-28232 has been assigned a CVSS rating of 7.8, indicating high severity.
How do I fix ZDI-CAN-28232?
To fix ZDI-CAN-28232, update GIMP to the latest version provided by the official maintainers.
What type of attack does ZDI-CAN-28232 allow?
ZDI-CAN-28232 allows remote attackers to execute arbitrary code on affected installations of GIMP.
Is user interaction required to exploit ZDI-CAN-28232?
Yes, user interaction is required as the target must visit a malicious page or open a malicious file.
Which software is affected by ZDI-CAN-28232?
ZDI-CAN-28232 affects installations of GIMP.