Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
High 7.8CVE-2026-138781

GIMP file-psd plugin: out-of-bounds read when loading PSD files

Published 30/11/2026 · Updated 30/11/2026 · Red Hat Enterprise Linux 10

Summary

A flaw (CWE-125, out-of-bounds read) exists in the add_merged_image function of GIMP's file-psd plugin. Bounds checks performed while loading PSD alpha channel metadata are incorrect. As a result, a crafted PSD file can crash the application and may allow arbitrary code execution.

The CVSS 3.1 score is 7.8 (High). The attack vector is local: the malicious file must be delivered to the victim, e.g. via email or download. The attacker needs no privileges on the system. However, the attack requires user interaction, since the user must open the file in GIMP. A successful attack can fully compromise confidentiality, integrity and availability in the context of the user running GIMP.

The vulnerability is not listed in the CISA KEV catalog, and no EPSS data is available.

Who is affected

Organizations and users running GIMP on Red Hat Enterprise Linux 6, 7, 8, 9 and 10, or on other distributions shipping the vulnerable file-psd plugin.

What to do

  1. Fixed package versions are not listed in the record. Check the official Red Hat advisory (https://access.redhat.com/security/cve/CVE-2026-138781) and apply available gimp package updates.
  2. Vendor workaround: do not open PSD files from untrusted sources with GIMP.
  3. Identify exposure by inventorying systems with the gimp package installed (e.g. rpm -q gimp).
  4. Where GIMP is not needed, consider removing the package from servers and workstations.
  5. For technical details of the fix, track the upstream fix in GNOME GitLab (commit 7a5814cf, work item 17021).

Vendor workaround

Do not open PSD files from untrusted sources with GIMP.

Original text from the vendor's CVE record.

Affected products and versions

Red Hat Red Hat Enterprise Linux 10
Red Hat Red Hat Enterprise Linux 6
Red Hat Red Hat Enterprise Linux 7
Red Hat Red Hat Enterprise Linux 8
Red Hat Red Hat Enterprise Linux 9

CVSS vector, explained

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Attack vector
Local
Attack complexity
Low
Privileges required
None (no login)
User interaction
Required
Scope
Vulnerable component only
Confidentiality
High impact
Integrity
High impact
Availability
High impact

Weakness type (CWE)

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.