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

Summary

CVECVE-2025-15059
StatePUBLISHED
Assignerzdi
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-01-23 04:16:00 UTC
Updated2026-07-15 02:17:19 UTC
DescriptionGIMP 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.

Risk And Classification

Primary CVSS: v3.1 7.8 HIGH from ADP

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

EPSS: 0.007440000 probability, percentile 0.505870000 (date 2026-07-17)

Problem Types: CWE-122 | CWE-787 | CWE-122 CWE-122: Heap-based Buffer Overflow | CWE-122 Heap-based Buffer Overflow


VersionSourceTypeScoreSeverityVector
3.1ADPCVSS7.8HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
3.10b0ca135-0b70-47e7-9f44-1890c2a1c46cSecondary7.8HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
3.0[email protected]Secondary7.8HIGHCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
3.0CNACVSS7.8HIGHCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

CVSS v3.0 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Gimp Gimp 3.0.6 All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA GIMP GIMP affected 3.0.6 Not specified
ADP Red Hat Red Hat Enterprise Linux 9 unaffected 2:3.0.4-1.el9_7.3 * rpm Not specified
ADP Red Hat Red Hat Enterprise Linux 9.0 Update Services For SAP Solutions unaffected 2:2.99.8-3.el9_0.4 * rpm Not specified
ADP Red Hat Red Hat Enterprise Linux 9.2 Update Services For SAP Solutions unaffected 2:2.99.8-4.el9_2.4 * rpm Not specified
ADP Red Hat Red Hat Enterprise Linux 9.4 Extended Update Support unaffected 2:2.99.8-4.el9_4.4 * rpm Not specified
ADP Red Hat Red Hat Enterprise Linux 9.6 Extended Update Support unaffected 2:2.99.8-4.el9_6.5 * rpm Not specified
ADP Red Hat Red Hat Enterprise Linux 6 Not specified Not specified
ADP Red Hat Red Hat Enterprise Linux 7 Not specified Not specified
ADP Red Hat Red Hat Enterprise Linux 8 Not specified Not specified

References

ReferenceSourceLinkTags
gitlab.gnome.org/GNOME/gimp/-/commit/03575ac8cbb0ef3103b0a15d6598475088dcc15e [email protected] gitlab.gnome.org Patch
access.redhat.com/errata/RHSA-2026:2969 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:2953 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/security/cve/CVE-2025-15059 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
www.zerodayinitiative.com/advisories/ZDI-25-1196 [email protected] www.zerodayinitiative.com Third Party Advisory
access.redhat.com/errata/RHSA-2026:2930 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:2950 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
bugzilla.redhat.com/show_bug.cgi 0b0ca135-0b70-47e7-9f44-1890c2a1c46c bugzilla.redhat.com
access.redhat.com/errata/RHSA-2026:2707 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-15059.json 0b0ca135-0b70-47e7-9f44-1890c2a1c46c security.access.redhat.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Additional Advisory Data

SourceTimeEvent
ADP2026-01-23T04:04:08.405ZReported to Red Hat.
ADP2026-01-23T02:49:52.381ZMade public.

Solutions

ADP: RHSA-2026:2969: Red Hat Enterprise Linux AppStream E4S (v.9.0)

ADP: RHSA-2026:2953: Red Hat Enterprise Linux AppStream E4S (v.9.2)

ADP: RHSA-2026:2950: Red Hat Enterprise Linux AppStream EUS (v.9.4)

ADP: RHSA-2026:2930: Red Hat Enterprise Linux AppStream EUS (v.9.6)

ADP: RHSA-2026:2707: Red Hat Enterprise Linux AppStream (v. 9)

Workarounds

ADP: To mitigate this issue, do not open PSP files from untrusted sources with GIMP.

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report