Heap overflow in GIMP file-psd plugin (LAB mode)
CVE-2026-136328 Published on November 24, 2026
Gimp: heap-based buffer overflow in the psd merged-image lab path
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.
Vulnerability Analysis
CVE-2026-136328 is exploitable with local system access, requires user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to be very high.
Timeline
Reported to Red Hat.
Made public.
Weakness Type
Heap-based Buffer Overflow
A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().
Products Associated with CVE-2026-136328
stack.watch emails you whenever new vulnerabilities are published in Red Hat Enterprise Linux (RHEL) or Red Hat Rhel Els. Just hit a watch button to start following.