Summary
A heap-based buffer overflow (CWE-122) was found in GIMP's file-psd plugin. When processing a specially crafted PSD file in LAB color mode, the plugin does not validate that a fourth channel is present when the transparency flag is set. As a result, the merged-image path allocates buffers for three components while performing color conversion with four-component formats.
The CVSS 3.1 score is 7.8 (High). The attack is local: the victim must open a malicious PSD file in GIMP. No authentication or privileges are required, and attack complexity is low. The impact can be an application crash (denial of service) or potentially arbitrary code execution with the user's privileges, with high impact on confidentiality, integrity and availability.
The vulnerability is not in the CISA KEV catalog, and the EPSS exploitation probability is low (about 0.26%).
Who is affected
This affects users and organizations running GIMP 2.99.8 and later, including Red Hat Enterprise Linux 6, 7, 8, 9 and 10 systems.
What to do
- No fixed version is listed in the record. Monitor official GNOME/GIMP advisories (gitlab.gnome.org/GNOME/gimp, work item 17002) and Red Hat advisories for CVE-2026-136328, and apply the patch once available.
- Vendor mitigation: do not open PSD (Photoshop Document) files from untrusted sources with GIMP.
- Inventory systems running GIMP 2.99.8 or later, for example with 'rpm -q gimp' on RHEL systems.
- Warn users about PSD files received by email or downloaded from the internet. Consider filtering such attachments.
Vendor workaround
To mitigate this vulnerability, do not open PSD (Photoshop Document) files from untrusted sources with GIMP.
Original text from the vendor's CVE record.
Affected products and versions
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)
- CWE-122 Heap-based Buffer Overflow
References
- access.redhat.com/security/cve/CVE-2026-136328
- bugzilla.redhat.com/show_bug.cgi?id=2583381
- gitlab.gnome.org/GNOME/gimp/-/work_items/17002
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.