CVE-2026-59090

Gimp: gimp: arbitrary code execution in psd plugin due to unsigned underflow

Published Aug 10, 2026 CVSS 3.1 · 8.4 High EPSS < 1% KEV · Not listed
Description
A flaw was found in GIMP's PSD file format plugin. This vulnerability, an unsigned integer underflow in the `block_rem` variable, occurs when a user opens a specially crafted `.psd` image file. The underflow leads to parser confusion, enabling an attacker to inject arbitrary data as layer resource blocks. This can ultimately result in arbitrary code execution, allowing the attacker to run malicious code on the victim's system.

Analysis

AI-generated

Technical impact

A flaw was discovered in the GIMP image editor’s PSD file format plugin. The vulnerability is an unsigned integer underflow in the `block_rem` variable, which occurs when a user opens a specially crafted .psd image file. The underflow causes the parser to misinterpret layer resource blocks, allowing an attacker to inject arbitrary data that can subsequently be executed, leading to arbitrary code execution on the victim’s system.

Affected Systems

Red Hat Enterprise Linux distributions, specifically RHEL 6 through RHEL 9, run the affected version of GIMP that contains the unpatched PSD plugin. The CVE notes the affected operating systems rather than a specific GIMP release, implying that installation of GIMP on these platforms is vulnerable unless the vendor’s update is applied.

Risk and Exploitability

The CVSS score of 8.4 indicates high severity, while the EPSS score is not available and the vulnerability is not listed in CISA’s KEV catalog, suggesting a lower known exploitation probability. The attack vector is inferred to be local: an attacker would need to deliver a malicious .psd file that a user opens with GIMP, or compromise a system to place such a file. In the absence of a patch, the only feasible mitigation is to avoid opening untrusted or suspicious PSD files with GIMP.

Remediation

Vendor Workaround

To mitigate this vulnerability, users should avoid opening untrusted or suspicious PSD image files with GIMP. As a general security practice, it is recommended to only process image files from trusted sources.


OpenCVE Recommended Actions

  • Install the Red Hat update that patches the unsigned underflow in GIMP’s PSD plugin as soon as it becomes available
  • Avoid opening untrusted or suspicious PSD files with GIMP; only process images from trusted sources
  • Audit system inventories for suspicious PSD files and restrict GIMP usage to trusted users or processes

Generated by OpenCVE AI on August 10, 2026 at 13:22 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
First Time appeared Redhat rhel Els
CPEs cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:8
cpe:/o:redhat:rhel_els:6
cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat rhel Els
Type Values Removed Values Added
CPEs cpe:/a:redhat:rhel_e4s:9.2::appstream
References
Type Values Removed Values Added
First Time appeared Redhat rhel E4s
CPEs cpe:/a:redhat:rhel_e4s:9.4::appstream
Vendors & Products Redhat rhel E4s
References
Type Values Removed Values Added
First Time appeared Redhat rhel Eus
CPEs cpe:/a:redhat:rhel_eus:9.6::appstream
Vendors & Products Redhat rhel Eus
References
Type Values Removed Values Added
CPEs cpe:/o:redhat:enterprise_linux:9 cpe:/a:redhat:enterprise_linux:9::appstream
References
Type Values Removed Values Added
CPEs cpe:2.3:a:gimp:gimp:3.3.1:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

ssvc

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

Type Values Removed Values Added
First Time appeared Gimp
Gimp gimp
Vendors & Products Gimp
Gimp gimp
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A flaw was found in GIMP's PSD file format plugin. This vulnerability, an unsigned integer underflow in the `block_rem` variable, occurs when a user opens a specially crafted `.psd` image file. The underflow leads to parser confusion, enabling an attacker to inject arbitrary data as layer resource blocks. This can ultimately result in arbitrary code execution, allowing the attacker to run malicious code on the victim's system.
Title Gimp: gimp: arbitrary code execution in psd plugin due to unsigned underflow
First Time appeared Redhat
Redhat enterprise Linux
Weaknesses CWE-191
CPEs cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-191

    Integer Underflow (Wrap or Wraparound)

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 4, 2026, 11:07 PM
Reserved
Jul 2, 2026, 3:11 PM
Status
Modified
Published
Aug 10, 2026, 1:19 PM
Modified
Nov 4, 2026, 11:17 PM