CVE-2026-18309

Source
https://cve.org/CVERecord?id=CVE-2026-18309
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-18309.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-18309
Downstream
Published
2026-08-20T16:24:13Z
Modified
2026-09-10T08:11:41Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
GIMP APNG File Parsing Integer Overflow Remote Code Execution Vulnerability
Details

GIMP APNG File Parsing Integer 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 APNG files. The issue results from the lack of proper validation of user-supplied data, which can result in an integer overflow before allocating a buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-29401.

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

Affected packages

Git / github.com/gnome/gimp

Affected ranges

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

Affected versions

3.*
3.2.2
Other
GIMP_3_2_2-windows-fixes
GIMP_3_2_4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-18309.json"
vanir_signatures
[
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "214099285325909051919589032658854339234",
                "272285134470091790670482505131128739610",
                "40437507703903650301706907186580696836",
                "241375020468761327054180200122529424523",
                "132831245766260094413729746561787646870",
                "56216504231875752179493170685069273148",
                "2389578383247589774440278086066444516",
                "238001609428312977074709103133107125363"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2026-18309-802b3d12",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://gitlab.gnome.org/gnome/gimp@c760c8309d18bdf5259f1e04ced0779462c7c636",
        "target": {
            "file": "plug-ins/common/file-png.c"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "91968381148664342552946736740685220716",
            "length": 5410
        },
        "id": "CVE-2026-18309-a3938d7d",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://gitlab.gnome.org/gnome/gimp@c760c8309d18bdf5259f1e04ced0779462c7c636",
        "target": {
            "file": "plug-ins/common/file-png.c",
            "function": "load_apng_image"
        }
    }
]
vanir_signatures_modified
"2026-09-10T08:11:41Z"