High severity · published Feb 20, 2026
CVE-2026-0797
GIMP ICO File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability
8.8
CVSS
1.3%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.3% · higher than 71% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
GI
Gimp · Gimp
3.2.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-0797
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-0797
Patch
https://gitlab.gnome.org/GNOME/gimp/-/commit/69cc6b1a6645dc9c4d7b484483dbe6a84b922b9c
Third Party Advisory
https://www.zerodayinitiative.com/advisories/ZDI-26-050/
access.redhat.com
https://access.redhat.com/errata/RHSA-2026:4173
access.redhat.com
https://access.redhat.com/errata/RHSA-2026:5113
access.redhat.com
https://access.redhat.com/errata/RHSA-2026:5388
access.redhat.com
https://access.redhat.com/errata/RHSA-2026:5389
More from Gimp
9.9
CVE-2026-59090
Gimp: gimp: arbitrary code execution in psd plugin due to unsigned underflow
9.1
CVE-2018-12713
GIMP through 2.10.2 makes g_get_tmp_dir calls to establish temporary filenames, which may result in a filename that already exists, as demonstrated by the gimp_write_and_read_file…
8.8
CVE-2026-2044
GIMP PGM File Parsing Uninitialized Memory Remote Code Execution Vulnerability
8.8
CVE-2025-5473
GIMP ICO File Parsing Integer Overflow Remote Code Execution Vulnerability
7.8
CVE-2026-92183
GIMP APNG File Parsing Stack-based Buffer Overflow Remote Code Execution Vulnerability
