ZDI-25-1137: GIMP LBM File Parsing Stack-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 LBM files. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a stack-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-14423.
— ZDI
Affected Software
Event History
Frequently Asked Questions
What is the severity of ZDI-25-1137?
The severity of ZDI-25-1137 is critical due to its ability to allow remote code execution.
How do I fix ZDI-25-1137?
To fix ZDI-25-1137, update GIMP to the latest version that addresses this vulnerability.
Who is affected by ZDI-25-1137?
Any user running affected installations of GIMP is vulnerable to ZDI-25-1137.
What type of attack does ZDI-25-1137 enable?
ZDI-25-1137 enables remote attackers to execute arbitrary code on the victim's machine.
What must a user do for ZDI-25-1137 to be exploited?
The user must visit a malicious web page or open a malicious file to exploit ZDI-25-1137.