CVE-2026-18301

GIMP PSD 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 PSD 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 PSD 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-29395.

Analysis

AI-generated

Technical impact

GIMP’s PSD file parser suffers from an unchecked integer overflow during buffer allocation, enabling an attacker to execute arbitrary code while the program is running. The flaw arises from the lack of proper validation of user-supplied data before allocating memory, and exploiting it requires the user to open a malicious PSD file or visit a web page that triggers the parsing process. If successful, the attacker can run code with the same permissions as the user running GIMP.

Affected Systems

The vulnerability affects the GIMP image editing application distributed by the GIMP project. No specific product versions were listed in the advisory, so any installation of GIMP that has not applied the latest available patch may be vulnerable.

Risk and Exploitability

The CVSS score of 7.8 indicates a high severity level, and while no EPSS score is available, the lack of exploit data suggests a moderate likelihood of real-world attacks. GIMP is not listed in the CISA KEV catalog. The required user interaction—opening a malicious file or visiting a malicious page—means the attack vector is local file-based but triggered remotely, increasing the attack surface for attackers who can deliver the file via email or web link. Both the severity and the potential impact warrant prompt remediation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update GIMP to the latest release that contains the integer‑overflow fix
  • Avoid opening PSD files from untrusted or unknown sources until the update is applied
  • Configure or enable sandboxing or file‑size validation when importing PSD files to add an extra layer of protection

Generated by OpenCVE AI on August 20, 2026 at 20:10 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 PSD 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 PSD 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-29395.
Title GIMP PSD 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:12 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