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
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.
| Product | Versions |
|---|---|
| GIMP GNOME | 2.99.8 and later Affected |
| Red Hat Enterprise Linux 9 Red Hat | 2: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 |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 7.8 High | redhat |
Weaknesses
- CWE-122 Heap-based Buffer Overflow
References
- RHSA-2026:104792Vendor Advisory
- https://access.redhat.com/security/cve/CVE-2026-136328Vulnerability Database
- RHBZ#2583381Issue Tracker
- https://gitlab.gnome.org/GNOME/gimp/-/work_items/17002
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.