CVE-2026-18306

GIMP SGI File Parsing Integer Overflow Remote Code Execution Vulnerability

Published Aug 20, 2026 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
Description
GIMP SGI 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 SGI files. The issue results from the lack of proper validation of user-supplied data, which can result in an integer overflow before writing to memory. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-29396.

Analysis

AI-generated

Technical impact

GIMP’s SGI file parser contains an unchecked integer that can overflow before memory is written. Exploiting this flaw allows a malicious actor to execute arbitrary code in the context of the running GIMP process. The vulnerability is classified as CWE‑190, an improper input validation weakness that can lead to uncontrolled memory access.

Affected Systems

The only identified product impacted is GIMP. No specific version range is listed in the CNA data, so any installation of the image editor that has not applied the relevant patch should be considered vulnerable.

Risk and Exploitability

The CVSS score of 7.8 indicates high severity, while an EPSS value is unavailable and the vulnerability is not listed in the CISA KEV catalogue. Attackers must supply a crafted SGI file or lure the user to a malicious page that triggers the parser; user interaction is required. If successful, the attacker can run code with the privileges of the user running GIMP, potentially compromising the host system.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest official GIMP update that addresses the SGI parsing flaw.
  • If an update cannot yet be applied, configure file‑type restrictions to block the opening of SGI files until mitigation is in place.
  • Ensure that the GIMP process runs in a sandboxed or minimally privileged environment to limit the impact of a potential exploit.

Generated by OpenCVE AI on August 20, 2026 at 20:07 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-6470-1 gimp security update
History
Type Values Removed Values Added
CPEs cpe:2.3:a:gimp:gimp:3.2.2:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

threat_severity

Important

Type Values Removed Values Added
First Time appeared Gimp
Gimp gimp
Vendors & Products Gimp
Gimp gimp
Type Values Removed Values Added
Description GIMP SGI 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 SGI files. The issue results from the lack of proper validation of user-supplied data, which can result in an integer overflow before writing to memory. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-29396.
Title GIMP SGI File Parsing Integer Overflow Remote Code Execution Vulnerability
Weaknesses CWE-190
References
Metrics cvssV3_0

{'score': 7.8, 'vector': 'CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

Weaknesses
  • CWE-190

    Integer Overflow or Wraparound

Sources

Status
PUBLISHED
Assigner
zdi
Published
Updated
Aug 27, 2026, 4:24 PM
Reserved
Jul 29, 2026, 5:13 PM
Status
Analyzed
Published
Aug 20, 2026, 5:17 PM
Modified
Oct 26, 2026, 10:10 AM
Severity
Important
Public date
Aug 20, 2026, 4:23 PM