CVE-2026-0797

Source
https://cve.org/CVERecord?id=CVE-2026-0797
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-0797.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-0797
Downstream
Related
Published
2026-02-20T22:10:04.716Z
Modified
2026-07-16T03:32:43.129847730Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
GIMP ICO File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-122"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/0xxx/CVE-2026-0797.json",
    "cna_assigner": "zdi"
}
References

Affected packages

Git / github.com/gnome/gimp

Affected ranges

Type
GIT
Repo
https://github.com/gnome/gimp
Events
Database specific
{
    "extracted_events": [
        {
            "introduced": "3.2.0-rc1"
        },
        {
            "last_affected": "3.2.0-rc1"
        }
    ],
    "source": "CPE_STRING",
    "cpe": "cpe:2.3:a:gimp:gimp:3.2.0:rc1:*:*:*:*:*:*"
}
Type
GIT
Repo
https://gitlab.gnome.org/gnome/gimp
Events
Database specific
{
    "source": [
        "CPE_STRING",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "3.2.0-rc1"
        },
        {
            "last_affected": "3.2.0-rc1"
        }
    ],
    "cpe": "cpe:2.3:a:gimp:gimp:3.2.0:rc1:*:*:*:*:*:*"
}

Affected versions

3.*
3.2.0-RC1
3.2.0-rc1
Other
GIMP_3_2_0_RC1
GIMP_3_2_0_RC2

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-0797.json"