Skip to content
OpenAdvisories
High · 7.8 CVE-2026-112257 EUVD-2026-104651GHSA-cch8-wx4h-hxqr

Gimp: gimp: heap out-of-bounds read/write in psd thumbnail loader (load_resource_1033)

Published Oct 19, 2026 · Updated Nov 11, 2026 · Assigned by redhat

Description

A flaw was found in GIMP. The PSD thumbnail resource loader performs a BGR-to-RGB channel swap with a fixed 3-byte stride and does not verify that the JPEG thumbnail is RGB. A crafted grayscale PSD thumbnail can cause a heap out-of-bounds read and write in the plug-in process, leading to a crash and potentially arbitrary code execution when the victim browses or opens the file.

Affected products

VendorProductAffectedFixed
Red Hat Red Hat Enterprise Linux 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 — —

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 3.2.8-1 —
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 —
ReleasePackageFixed inAdvisory
RHEL 9 gimp +1 2:3.0.4-4.el9_8.15 RHSA-2026:98495, RHSA-2026:93975
RHEL 8 gimp +3 2:2.8.22-26.module+el8.10.0+25170+1f1aa845.10 RHSA-2026:95482
RHEL 8 pygobject2 +3 2.28.7-5.module+el8.10.0+22676+becd68d6 RHSA-2026:95482
RHEL 8 pygtk2 +3 2.24.0-25.module+el8.9.0+21228+8e80d31d RHSA-2026:95482
RHEL 8 python2-cairo +2 1.16.3-7.module+el8.10.0+22676+becd68d6 RHSA-2026:95482

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 gimp +1 2:3.0.4-4.el9_8.15 ALSA-2026:93975
AlmaLinux 8 gimp +3 2:2.8.22-26.module_el8.10.0+4352+8516153e.10 ALSA-2026:95482
AlmaLinux 8 pygobject2 +1 2.28.7-5.module_el8.10.0+4137+2d0d25cf ALSA-2026:95482
AlmaLinux 8 pygobject2-codegen 2.28.7-5.module_el8.10.0+4175+c208a0bf ALSA-2026:95482
AlmaLinux 8 pygobject2-devel 2.28.7-5.module_el8.10.0+3952+571e801c ALSA-2026:95482
AlmaLinux 8 pygtk2 +3 2.24.0-25.module_el8.9.0+3725+d1441900 ALSA-2026:95482
AlmaLinux 8 python2-cairo 1.16.3-7.module_el8.10.0+3952+571e801c ALSA-2026:95482
AlmaLinux 8 python2-cairo-devel 1.16.3-7.module_el8.10.0+4175+c208a0bf ALSA-2026:95482

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 gimp 2:2.8.22-26.module+el8.10.0+1927+52edb5a0 RLSA-2026:95482
Rocky Linux 8 pygobject2 2.28.7-5.module+el8.10.0+1927+52edb5a0 RLSA-2026:95482
Rocky Linux 8 pygtk2 2.24.0-25.module+el8.9.0+1723+9bc93544 RLSA-2026:95482
Rocky Linux 8 python2-pycairo 1.16.3-7.module+el8.10.0+1927+52edb5a0 RLSA-2026:95482

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 gimp +1 2:3.0.4-4.el9_8.15 ELSA-2026-93975
Oracle Linux 8 gimp +3 2:2.8.22-26.module+el8.10.0+91106+8f0be1f3.10 ELSA-2026-95482
Oracle Linux 8 pygobject2 +3 2.28.7-5.module+el8.10.0+90497+ae78887f ELSA-2026-95482
Oracle Linux 8 pygtk2 +3 2.24.0-25.module+el8.9.0+90151+46a7e4b5 ELSA-2026-95482
Oracle Linux 8 python2-cairo +1 1.16.3-7.module+el8.10.0+90497+ae78887f ELSA-2026-95482

Advisories 9

References