CVE-2026-138781

Gimp: gimp: out-of-bounds read in psd alpha channel arrays in add_merged_image

Published Nov 30, 2026 CVSS 3.1 · 7.8 High EPSS n/a KEV · Not listed
Description
A flaw was found in the file-psd plugin in GIMP. Incorrect bounds checks when loading PSD alpha channel metadata can cause an out-of-bounds read. Opening a crafted PSD file can crash the application and may allow arbitrary code execution.

Analysis

AI-generated

Technical impact

A flaw in GIMP's file-psd plugin causes an out‑of‑bounds read when parsing PSD alpha channel metadata. If an attacker crafts a malicious PSD file and opens it with GIMP, the read can crash the application and may allow arbitrary code execution. The vulnerability is identified as CWE‑125 and is evaluated with a CVSS score of 7.8, indicating high severity. It can be triggered simply by loading a malicious file, so the potential attack vector is a local user or an application that imports PSD files. While no exploitation of privileged code is proven in the description, the out‑of‑bounds read makes arbitrary code execution possible if the heap is in a state that can be influenced, potentially escalating an attacker’s privileges on the system.

Affected Systems

The issue affects GIMP running on Red Hat Enterprise Linux versions 10, 8, and 9, as well as the RHEL Enterprise Lifecycle Support versions 6 and 7. The problem resides in the GIMP source code, so any system deploying GIMP on those RHEL platforms is impacted.

Risk and Exploitability

The high CVSS score and the nature of the flaw suggest a significant risk. Since the exploit requires only a crafted PSD file, an attacker can target a vulnerable system by tricking a user into opening a malicious file. The EPSS score is not available, and the vulnerability is not listed in CISA’s KEV catalog, so it may not yet be actively exploited in the wild. Nonetheless, the potential for arbitrary code execution implies that the risk is non‑negligible and should be mitigated promptly.

Remediation

Vendor Workaround

Do not open PSD files from untrusted sources with GIMP.


OpenCVE Recommended Actions

  • Do not open PSD files from untrusted sources with GIMP.
  • Update GIMP to the latest version that includes a fixed file‑psd plugin, if an update has been released.
  • Consider disabling the file‑psd plugin entirely until a patch is available.

Generated by OpenCVE AI on November 30, 2026 at 16:38 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description A flaw was found in the file-psd plugin in GIMP. Incorrect bounds checks when loading PSD alpha channel metadata can cause an out-of-bounds read. Opening a crafted PSD file can crash the application and may allow arbitrary code execution.
Title Gimp: gimp: out-of-bounds read in psd alpha channel arrays in add_merged_image
First Time appeared Redhat
Redhat enterprise Linux
Redhat rhel Els
Weaknesses CWE-125
CPEs cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
cpe:/o:redhat:rhel_els:6
cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat
Redhat enterprise Linux
Redhat rhel Els
References
Metrics 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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 30, 2026, 2:54 PM
Reserved
Nov 30, 2026, 11:18 AM
Status
Awaiting Analysis
Published
Nov 30, 2026, 2:17 PM
Modified
Nov 30, 2026, 3:17 PM