CVE-2026-0797: GIMP ICO File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability
GIMP ICO 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 ICO 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. Was ZDI-CAN-28599.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-0797?
CVE-2026-0797 is classified as a critical vulnerability due to its potential for remote code execution.
How do I fix CVE-2026-0797?
To fix CVE-2026-0797, it is recommended to update GIMP to the latest version that includes the vulnerability fix.
Who is affected by CVE-2026-0797?
CVE-2026-0797 affects all installations of GIMP that parse ICO files.
What type of vulnerability is CVE-2026-0797?
CVE-2026-0797 is a heap-based buffer overflow vulnerability allowing remote code execution.
Is user interaction required for CVE-2026-0797 to be exploited?
Yes, CVE-2026-0797 requires user interaction to execute the exploit.