Skip to content
OpenAdvisories
High · 7.8 CVE-2026-136328 EUVD-2026-134605GHSA-4cmq-j8mx-j4r6

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

Published Nov 24, 2026 · Updated Dec 1, 2026 · Assigned by redhat

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

VendorProductAffectedFixed
GNOME GIMP 2.99.8 —
Red Hat Red Hat Enterprise Linux 9 — —
Red Hat 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 — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 gimp No fix yet —
Debian 13 gimp No fix yet —
Debian 12 gimp No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 gimp No fix yet —
Ubuntu 26.04 LTS gimp No fix yet —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS gimp No fix yet —
Ubuntu Pro 22.04 LTS gimp No fix yet —
Ubuntu Pro 20.04 LTS gimp No fix yet —
Ubuntu Pro 18.04 LTS gimp No fix yet —
Ubuntu Pro 16.04 LTS gimp No fix yet —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 gimp +1 2:3.0.4-8.el9_9.8 ELSA-2026-104792

Advisories 2

References