CVE-2026-0797
Received Received - Intake
Heap-Based Buffer Overflow in GIMP ICO Parsing Enables RCE

Publication date: 2026-02-20

Last updated on: 2026-02-24

Assigner: Zero Day Initiative

Description
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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-02-20
Last Modified
2026-02-24
Generated
2026-06-16
AI Q&A
2026-02-21
EPSS Evaluated
2026-06-14
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
gimp gimp 3.2.0
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-787 The product writes data past the end, or before the beginning, of the intended buffer.
CWE-122 A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability is a heap-based buffer overflow in the way GIMP parses ICO files. Specifically, it occurs because the software does not properly validate the length of user-supplied data before copying it into a heap-based buffer. This flaw can be exploited by remote attackers to execute arbitrary code on the affected system.

Exploitation requires user interaction, such as opening a malicious ICO file or visiting a malicious webpage that triggers the vulnerability.

Impact Analysis

If exploited, this vulnerability allows an attacker to execute arbitrary code within the context of the current process running GIMP. This can lead to full compromise of the affected system, including unauthorized access, data theft, or further malware installation.

Compliance Impact

I don't know

Detection Guidance

I don't know

Mitigation Strategies

I don't know

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-0797. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart