ZDI-CAN-28158: ZDI-26-118: GIMP PGM File Parsing Uninitialized Memory 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 PGM files. The issue results from the lack of proper initialization of memory prior to accessing it. 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-2026-2044.
— ZDI
Affected Software
Event History
Frequently Asked Questions
What is the severity of ZDI-CAN-28158?
The severity of ZDI-CAN-28158 is high, as it allows for remote code execution on affected systems.
How do I fix ZDI-CAN-28158?
To fix ZDI-CAN-28158, update GIMP to the latest version that addresses this vulnerability.
What causes the vulnerability ZDI-CAN-28158?
ZDI-CAN-28158 is caused by improper handling of uninitialized memory during PGM file parsing.
Who is affected by ZDI-CAN-28158?
Users of GIMP are affected by ZDI-CAN-28158 if they open a malicious PGM file.
Is user interaction required to exploit ZDI-CAN-28158?
Yes, user interaction is required for ZDI-CAN-28158 as the target must visit a malicious page.