ZDI-25-978: GIMP XWD File Parsing Heap-based Buffer 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 XWD 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-10934.
— ZDI
Affected Software
Event History
Frequently Asked Questions
What is the severity of ZDI-25-978?
The severity of ZDI-25-978 is critical due to the potential for remote code execution.
How do I fix ZDI-25-978?
To fix ZDI-25-978, update GIMP to the latest version where the vulnerability has been patched.
What impact does ZDI-25-978 have on GIMP users?
Users of GIMP affected by ZDI-25-978 may be exposed to arbitrary code execution if they interact with malicious files or websites.
Is user interaction needed for exploiting ZDI-25-978?
Yes, user interaction is required to exploit ZDI-25-978 by visiting a malicious page or opening a harmful file.
Which versions of GIMP are affected by ZDI-25-978?
ZDI-25-978 affects certain versions of GIMP prior to the security patch that addressed this vulnerability.