ZDI-CAN-28273: ZDI-25-1136: GIMP PNM File Parsing Integer 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 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
Event History
Frequently Asked Questions
What is the severity of ZDI-CAN-28273?
The severity of ZDI-CAN-28273 is rated at 7.8 on the CVSS scale.
How do I fix ZDI-CAN-28273?
To fix ZDI-CAN-28273, update to the latest version of GIMP that addresses the vulnerability.
What type of code can be executed due to ZDI-CAN-28273?
ZDI-CAN-28273 allows remote attackers to execute arbitrary code on affected installations of GIMP.
Is user interaction required to exploit ZDI-CAN-28273?
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-28273?
GIMP is the software affected by ZDI-CAN-28273.