CVE-2025-15059
gimp: heap-based buffer overflow via specially crafted PSP file
Severity
ImportantRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · January 23, 2026
Updated · June 30, 2026
Description
A flaw was found in GIMP. Opening a specially crafted PSP file with GIMP can cause a heap-based buffer overflow due to improper input validation of the length of user-supplied data. An attacker can exploit this vulnerability by convincing a user to open a specially crafted PSP file, resulting in a denial of service or potentially code execution in the context of the current process.
Statement
To exploit this issue, an attacker needs to convince a user to process a specially crafted PSP file with GIMP, reducing the likelihood of exploitation. Due to this reason, this flaw has been rated with an important severity.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
To mitigate this issue, do not open PSP files from untrusted sources with GIMP.
CVSS / CWE
CVSS 3.1 · 7.8CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CWE-122 · Heap-based Buffer Overflow