CVE-2026-0797: gimp Heap-based Buffer Overflow
Vulnerability summary
CVE-2026-0797 is a high (CVSS 8.8) Heap-based Buffer Overflow vulnerability in gimp. EPSS estimates a 1.32% chance of exploitation in the next 30 days, higher than 70.4% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 12Timeline
- 20-02-2026PublishedVulnerability first disclosed.
- 15-07-2026Last modifiedVulnerability information updated.
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 metrics
7 scores · 4 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- NVDNIST8.8HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- NVDNIST7.8HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
1.32%
Chance of exploitation in the next 30 days
Percentile
70%
Versus all other CVEs
30-day change
+0.14 pp
From 1.18% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-122Heap-based Buffer OverflowA 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().
- CWE-787Out-of-bounds WriteThe product writes data past the end, or before the beginning, of the intended buffer.
- CWE-120Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer.
Affected systems
Suse4 products
- gimp&distro=SUSE Linux Enterprise Module for Package Hub 15 SP7< 2.10.30-150400.3.41.1
- gimp&distro=SUSE Linux Enterprise Workstation Extension 15 SP7< 2.10.30-150400.3.41.1
- lensfun&distro=SUSE Linux Enterprise Module for Package Hub 15 SP7< 0.3.2-150400.3.4.1
- lensfun&distro=SUSE Linux Enterprise Workstation Extension 15 SP7< 0.3.2-150400.3.4.1
Opensuse2 products
- gimp&distro=openSUSE Leap 15.6< 2.10.30-150400.3.41.1
- lensfun&distro=openSUSE Leap 15.6< 0.3.2-150400.3.4.1
Debian1 product
- gimp< 2.10.34-1+deb12u9 | < 3.0.4-3+deb13u7 | < 3.2.0~RC3-1
Gimp1 product
- gimp3.2.0-RC1 | 3.2.0:rc1
Ubuntu1 product
- gimpAll versions (No fix recorded)
5 vendors · 9 products
References
23 links- gitlab.gnome.org/GNOME/gimp/-/commit/69cc6b1a6645dc9c4d7b484483dbe6a84b922b9cVendor AdvisoryREPORTPatch