ZDI-25-1196: GIMP PSP File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability

Published Dec 29, 2025
·
Updated

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

1 affected component
GIMP GIMP

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch ZDI-25-1196
  2. Compensating control

    Mitigate remote code execution by preventing users from opening untrusted GIMP PSP files and avoiding interaction that would cause a victim to visit a malicious page or open a malicious file (user interaction is required per ZDI-25-1196).

Event History

Dec 29, 2025
Advisory Published
via ZDI·12:00 AM
Data Sourced
via ZDI·12:00 AM
DescriptionSeverityAffected Software
Advisory Published
via ZDI·06:00 AM

Frequently Asked Questions

1

What is the severity of ZDI-25-1196?

ZDI-25-1196 has been assigned a CVSS rating of 7.8, indicating it is a high severity vulnerability.

2

How do I fix ZDI-25-1196?

To mitigate ZDI-25-1196, users should update their GIMP installation to the latest version provided by the vendor.

3

What type of attacks can be executed through ZDI-25-1196?

ZDI-25-1196 allows remote attackers to execute arbitrary code, potentially leading to unauthorized actions on the affected system.

4

Is user interaction required to exploit ZDI-25-1196?

Yes, user interaction is required as the target must visit a malicious page or open a malicious file to exploit ZDI-25-1196.

5

What software is affected by ZDI-25-1196?

GIMP is the affected software for vulnerability ZDI-25-1196.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203