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
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Patch ZDI-26-118
Event History
Frequently Asked Questions
What is the severity of ZDI-26-118?
The severity of ZDI-26-118 is classified as high due to the potential for remote code execution.
How do I fix ZDI-26-118?
To fix ZDI-26-118, update GIMP to the latest version where the vulnerability is patched.
What versions of GIMP are affected by ZDI-26-118?
ZDI-26-118 affects multiple versions of GIMP, particularly those prior to the security update addressing this vulnerability.
What are the risks associated with ZDI-26-118?
The risks associated with ZDI-26-118 include the possibility of remote attackers executing arbitrary code on the affected system.
Do I need to take action if I use GIMP and am aware of ZDI-26-118?
Yes, users of GIMP should take action to update their software to mitigate the risk presented by ZDI-26-118.