High severity8.8NVD Advisory· Published Feb 20, 2026· Updated Jul 15, 2026
CVE-2026-0797
CVE-2026-0797
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
23- osv-coords20 versionspkg:rpm/almalinux/gimppkg:rpm/almalinux/gimp-develpkg:rpm/almalinux/gimp-devel-toolspkg:rpm/almalinux/gimp-libspkg:rpm/almalinux/pygobject2pkg:rpm/almalinux/pygobject2-codegenpkg:rpm/almalinux/pygobject2-develpkg:rpm/almalinux/pygobject2-docpkg:rpm/almalinux/pygtk2pkg:rpm/almalinux/pygtk2-codegenpkg:rpm/almalinux/pygtk2-develpkg:rpm/almalinux/pygtk2-docpkg:rpm/almalinux/python2-cairopkg:rpm/almalinux/python2-cairo-develpkg:rpm/opensuse/gimp&distro=openSUSE%20Leap%2015.6pkg:rpm/opensuse/lensfun&distro=openSUSE%20Leap%2015.6pkg:rpm/suse/gimp&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP7pkg:rpm/suse/gimp&distro=SUSE%20Linux%20Enterprise%20Workstation%20Extension%2015%20SP7pkg:rpm/suse/lensfun&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP7pkg:rpm/suse/lensfun&distro=SUSE%20Linux%20Enterprise%20Workstation%20Extension%2015%20SP7
< 2:3.0.4-1.el9_7.4+ 19 more
- (no CPE)range: < 2:3.0.4-1.el9_7.4
- (no CPE)range: < 2:2.8.22-26.module_el8.10.0+4137+2d0d25cf.5
- (no CPE)range: < 2:2.8.22-26.module_el8.10.0+4137+2d0d25cf.5
- (no CPE)range: < 2:3.0.4-1.el9_7.4
- (no CPE)range: < 2.28.7-5.module_el8.10.0+3952+571e801c
- (no CPE)range: < 2.28.7-5.module_el8.10.0+3952+571e801c
- (no CPE)range: < 2.28.7-5.module_el8.10.0+4137+2d0d25cf
- (no CPE)range: < 2.28.7-5.module_el8.10.0+3952+571e801c
- (no CPE)range: < 2.24.0-25.module_el8.9.0+3725+d1441900
- (no CPE)range: < 2.24.0-25.module_el8.9.0+3725+d1441900
- (no CPE)range: < 2.24.0-25.module_el8.9.0+3725+d1441900
- (no CPE)range: < 2.24.0-25.module_el8.9.0+3725+d1441900
- (no CPE)range: < 1.16.3-7.module_el8.10.0+3952+571e801c
- (no CPE)range: < 1.16.3-7.module_el8.10.0+3952+571e801c
- (no CPE)range: < 2.10.30-150400.3.41.1
- (no CPE)range: < 0.3.2-150400.3.4.1
- (no CPE)range: < 2.10.30-150400.3.41.1
- (no CPE)range: < 2.10.30-150400.3.41.1
- (no CPE)range: < 0.3.2-150400.3.4.1
- (no CPE)range: < 0.3.2-150400.3.4.1
Patches
Vulnerability mechanics
References
15- gitlab.gnome.org/GNOME/gimp/-/commit/69cc6b1a6645dc9c4d7b484483dbe6a84b922b9cnvdPatch
- www.zerodayinitiative.com/advisories/ZDI-26-050/nvdThird Party Advisory
- access.redhat.com/errata/RHSA-2026:4173nvd
- access.redhat.com/errata/RHSA-2026:5113nvd
- access.redhat.com/errata/RHSA-2026:5388nvd
- access.redhat.com/errata/RHSA-2026:5389nvd
- access.redhat.com/errata/RHSA-2026:5390nvd
- access.redhat.com/errata/RHSA-2026:5391nvd
- access.redhat.com/errata/RHSA-2026:5434nvd
- access.redhat.com/errata/RHSA-2026:5435nvd
- access.redhat.com/errata/RHSA-2026:5436nvd
- access.redhat.com/errata/RHSA-2026:5437nvd
- access.redhat.com/security/cve/CVE-2026-0797nvd
- bugzilla.redhat.com/show_bug.cginvd
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-0797.jsonnvd
News mentions
0No linked articles in our index yet.