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

State
Published
Severity
7.8 High
Published
Nov 24, 2026
Updated
Dec 1, 2026
Reserved
Nov 24, 2026

Read the record on cve.org

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.

ProductVersions
GIMP GNOME2.99.8 and later Affected
Red Hat Enterprise Linux 9 Red Hat2:3.0.4-8.el9_9.8 and later Not Affected
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

Weaknesses

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.