CVE-2026-0797
published 2026-02-20CVE-2026-0797: GIMP ICO File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on…
PriorityP357high8.8CVSS 3.1
AVNACLPRNUIRSUCHIHAH
EPSS
1.16%
63.3th percentile
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
7 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | gimp | < gimp 2.10.34-1+deb12u9 (bookworm) | gimp 2.10.34-1+deb12u9 (bookworm) |
| gimp | gimp | — | — |
| gimp | gimp | — | — |
| gimp | gimp | >= 0 < 2.10.22-4+deb11u7 | 2.10.22-4+deb11u7 |
| gimp | gimp | >= 0 < 2.10.34-1+deb12u9 | 2.10.34-1+deb12u9 |
| gimp | gimp | >= 0 < 3.0.4-3+deb13u7 | 3.0.4-3+deb13u7 |
| gimp | gimp | >= 0 < 3.2.0~RC3-1 | 3.2.0~RC3-1 |
CVSS provenance
nvdv3.18.8HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv3.07.8HIGHCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
osv7.8HIGH
vendor_debian7.8HIGH
vendor_redhat7.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
gimp: GIMP: Remote Code Execution via ICO File Parsing Vulnerability
vendor_redhat·2026-02-20·CVSS 7.8
CVE-2026-0797 [HIGH] CWE-120 gimp: GIMP: Remote Code Execution via ICO File Parsing Vulnerability
gimp: GIMP: Remote Code Execution via ICO File Parsing 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.
A flaw was found in GIMP. This vulnerability, a heap-based buffer overflow, occurs during the pars
Debian
CVE-2026-0797: gimp - GIMP ICO File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerabi...
vendor_debian·2026·CVSS 7.8
CVE-2026-0797 [HIGH] CVE-2026-0797: gimp - GIMP ICO File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerabi...
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.
Scope: local
bookworm: resolved (fixed in 2.10.34-1+deb12u9)
bullseye: resolved (fixed in 2.10.22-4+deb11u7)
forky: resolved (fixed in 3.2.0~RC3-1)
sid: resolved (fixed
GHSA
GHSA-7c63-32m9-7mfg: GIMP ICO File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability
ghsa_unreviewed·2026-02-21
CVE-2026-0797 [HIGH] CWE-122 GHSA-7c63-32m9-7mfg: 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.
OSV
CVE-2026-0797: GIMP ICO File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability
osv·2026-02-20·CVSS 7.8
CVE-2026-0797 [HIGH] 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.
No detection rules found.
No public exploits indexed.
Wiz
CVE-2026-0797 Impact, Exploitability, and Mitigation Steps | Wiz
blogs_wiz·CVSS 7.8
CVE-2026-0797 [HIGH] CVE-2026-0797 Impact, Exploitability, and Mitigation Steps | Wiz
## CVE-2026-0797 :
NixOS vulnerability analysis and mitigation
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.
Source : NVD
## 7.8
Score
Published February 20, 2026
Severity HIGH
CNA Score 7.8
Affected Tec
Bugzilla
CVE-2026-0797 gimp: GIMP: Remote Code Execution via ICO File Parsing Vulnerability
bugzilla·2026-02-20·CVSS 7.8
CVE-2026-0797 [HIGH] CVE-2026-0797 gimp: GIMP: Remote Code Execution via ICO File Parsing Vulnerability
CVE-2026-0797 gimp: GIMP: Remote Code Execution via ICO File Parsing 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.
Discussion:
This issue has been addressed in the following products:
Red Hat Ente
https://gitlab.gnome.org/GNOME/gimp/-/commit/69cc6b1a6645dc9c4d7b484483dbe6a84b922b9chttps://www.zerodayinitiative.com/advisories/ZDI-26-050/https://access.redhat.com/errata/RHSA-2026:4173https://access.redhat.com/errata/RHSA-2026:5113https://access.redhat.com/errata/RHSA-2026:5388https://access.redhat.com/errata/RHSA-2026:5389https://access.redhat.com/errata/RHSA-2026:5390https://access.redhat.com/errata/RHSA-2026:5391https://access.redhat.com/errata/RHSA-2026:5434https://access.redhat.com/errata/RHSA-2026:5435https://access.redhat.com/errata/RHSA-2026:5436https://access.redhat.com/errata/RHSA-2026:5437https://access.redhat.com/security/cve/CVE-2026-0797https://bugzilla.redhat.com/show_bug.cgi?id=2441524https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-0797.json
2026-02-20
Published