ZDI-25-1136: GIMP PNM File Parsing Integer Overflow Remote Code Execution Vulnerability

Published Dec 17, 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 PNM files. The issue results from the lack of proper validation of user-supplied data, which can result in an integer overflow before allocating a 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-14422.

ZDI

Affected Software

2 affected components
GIMP GIMP
GIMP GIMP

Event History

Dec 17, 2025
Advisory Published
via ZDI·06:00 AM
Data Sourced
via ZDI·06:00 AM
Description
Dec 23, 2025
Advisory Published
via ZDI·09:37 PM
Data Sourced
via ZDI·09:37 PM
SeverityAffected Software

Frequently Asked Questions

1

What is the severity of ZDI-25-1136?

The severity of ZDI-25-1136 is high due to its potential to allow remote code execution.

2

How do I fix ZDI-25-1136?

To fix ZDI-25-1136, update GIMP to the latest version provided by the developers.

3

Who is affected by ZDI-25-1136?

ZDI-25-1136 affects installations of GIMP that allow for user interaction to exploit the vulnerability.

4

What type of vulnerability is ZDI-25-1136?

ZDI-25-1136 is a remote code execution vulnerability.

5

Is user interaction required for ZDI-25-1136 exploitation?

Yes, user interaction is required for exploiting ZDI-25-1136, such as visiting a malicious page or opening a malicious file.

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