ZDI-25-1139: GIMP JP2 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 JP2 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-14425.
— ZDI
Affected Software
Event History
Frequently Asked Questions
What is the severity of ZDI-25-1139?
ZDI-25-1139 has been assigned a CVSS rating of 7.8, indicating it is a high-severity vulnerability.
How do I fix ZDI-25-1139?
To mitigate ZDI-25-1139, ensure that you update GIMP to the latest version provided by the developers.
Who is affected by ZDI-25-1139?
ZDI-25-1139 affects installations of GIMP that are not updated to the patched versions that address this vulnerability.
What type of attack can be executed using ZDI-25-1139?
ZDI-25-1139 allows remote attackers to execute arbitrary code on affected installations of GIMP.
Does ZDI-25-1139 require user interaction to be exploited?
Yes, ZDI-25-1139 requires user interaction, as the target must visit a malicious page or open a malicious file.