CVE-2026-136328

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

High published · updated

7.8
CVSS score out of 10 · NVD (redhat.com)

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.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
gimp gnome 2.99.8 → <** CVE.org
red hat enterprise linux 10 red hat —— CVE.org
red hat enterprise linux 6 red hat —— CVE.org
red hat enterprise linux 7 red hat —— CVE.org
red hat enterprise linux 8 red hat —— CVE.org
red hat enterprise linux 9 red hat —— CVE.org

References