ZDI-CAN-28311: 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-CAN-28311?
ZDI-CAN-28311 has a severity rating that indicates it allows remote code execution under specific circumstances.
How do I fix ZDI-CAN-28311?
To fix ZDI-CAN-28311, ensure you update GIMP to the latest version that addresses this vulnerability.
What versions of GIMP are affected by ZDI-CAN-28311?
ZDI-CAN-28311 affects all versions of GIMP prior to the security patch release that addresses this issue.
How can attackers exploit ZDI-CAN-28311?
Attackers can exploit ZDI-CAN-28311 by persuading users to open malicious files or visit malicious web pages.
Is user interaction required for ZDI-CAN-28311 exploitation?
Yes, user interaction is required for the exploitation of ZDI-CAN-28311.