CVE-2025-10925
GIMP ILBM File Parsing Stack-based Buffer Overflow Remote Code Execution Vulnerability
In short
GIMP has a critical flaw in how it reads ILBM image files. An attacker can craft a malicious file that, when opened, causes GIMP to crash or run malicious code on your computer.
Technical detail
A stack-based buffer overflow exists in GIMP's ILBM file parser due to insufficient validation of user-supplied data length before copying to a stack buffer. Remote code execution is achievable when a user opens a crafted ILBM file, with the exploit executing within the GIMP process context (CWE-121).
Summary generated and translated by AI from the official description.
GIMP ILBM 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 ILBM 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. Was ZDI-CAN-27793.
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected products
GIMP · GIMPWant to know if your infrastructure is exposed to this?
Talk to TrueHacking →