CVE-2026-136328

Gimp: heap-based buffer overflow in the psd merged-image lab path

Published Nov 24, 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. When processing a specially crafted PSD (Photoshop Document) image file in LAB color mode, the plugin does not properly validate that a fourth channel is present when the transparency flag is set. This mismatch causes the merged-image path to allocate buffers for three components while performing color conversion with four-component formats, resulting in a heap-based buffer overflow. This issue can result in an application crash, leading to a denial of service, or potentially allow for arbitrary code execution.

Analysis

No analysis available yet

Remediation

Vendor Workaround

To mitigate this vulnerability, do not open PSD (Photoshop Document) files from untrusted sources with GIMP.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description A flaw was found in the file-psd plugin in GIMP. When processing a specially crafted PSD (Photoshop Document) image file in LAB color mode, the plugin does not properly validate that a fourth channel is present when the transparency flag is set. This mismatch causes the merged-image path to allocate buffers for three components while performing color conversion with four-component formats, resulting in a heap-based buffer overflow. This issue can result in an application crash, leading to a denial of service, or potentially allow for arbitrary code execution.
Title Gimp: heap-based buffer overflow in the psd merged-image lab path
First Time appeared Redhat
Redhat enterprise Linux
Redhat rhel Els
Weaknesses CWE-122
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
  • CWE-122

    Heap-based Buffer Overflow

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 24, 2026, 7:58 PM
Reserved
Nov 24, 2026, 5:33 PM
Status
Awaiting Analysis
Published
Nov 24, 2026, 8:18 PM
Modified
Nov 24, 2026, 8:18 PM