Vulnerability · Published Oct 19, 2026 · Assigned by redhat

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

High 7.8

In plain English

A high-severity stack buffer overflow in Red Hat Enterprise Linux 10 from Red Hat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 7% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.8High
Exploit odds (30 days)0.2%top 92.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8gimp2:2.8.22-26.module_el8.10.0+4352+8516153e.10ALSA-2026:95482
AlmaLinux:9gimp2:3.0.4-4.el9_8.15ALSA-2026:93975
AlmaLinux:8gimp-devel2:2.8.22-26.module_el8.10.0+4352+8516153e.10ALSA-2026:95482
AlmaLinux:8gimp-devel-tools2:2.8.22-26.module_el8.10.0+4352+8516153e.10ALSA-2026:95482
AlmaLinux:8gimp-libs2:2.8.22-26.module_el8.10.0+4352+8516153e.10ALSA-2026:95482
AlmaLinux:9gimp-libs2:3.0.4-4.el9_8.15ALSA-2026:93975
AlmaLinux:8pygobject22.28.7-5.module_el8.10.0+4267+35168c80ALSA-2026:95482
AlmaLinux:8pygobject22.28.7-5.module_el8.10.0+4175+c208a0bfALSA-2026:95482
AlmaLinux:8pygobject22.28.7-5.module_el8.10.0+4137+2d0d25cfALSA-2026:95482
AlmaLinux:8pygobject2-codegen2.28.7-5.module_el8.10.0+4175+c208a0bfALSA-2026:95482
AlmaLinux:8pygobject2-codegen2.28.7-5.module_el8.10.0+4267+35168c80ALSA-2026:95482
AlmaLinux:8pygobject2-devel2.28.7-5.module_el8.10.0+4267+35168c80ALSA-2026:95482
AlmaLinux:8pygobject2-devel2.28.7-5.module_el8.10.0+4137+2d0d25cfALSA-2026:95482
AlmaLinux:8pygobject2-devel2.28.7-5.module_el8.10.0+3952+571e801cALSA-2026:95482
AlmaLinux:8pygobject2-doc2.28.7-5.module_el8.10.0+4267+35168c80ALSA-2026:95482
AlmaLinux:8pygobject2-doc2.28.7-5.module_el8.10.0+4137+2d0d25cfALSA-2026:95482
AlmaLinux:8pygtk22.24.0-25.module_el8.9.0+3725+d1441900ALSA-2026:95482
AlmaLinux:8pygtk2-codegen2.24.0-25.module_el8.9.0+3725+d1441900ALSA-2026:95482
AlmaLinux:8pygtk2-devel2.24.0-25.module_el8.9.0+3725+d1441900ALSA-2026:95482
AlmaLinux:8pygtk2-doc2.24.0-25.module_el8.9.0+3725+d1441900ALSA-2026:95482
AlmaLinux:8python2-cairo1.16.3-7.module_el8.10.0+4175+c208a0bfALSA-2026:95482
AlmaLinux:8python2-cairo1.16.3-7.module_el8.10.0+4267+35168c80ALSA-2026:95482
AlmaLinux:8python2-cairo1.16.3-7.module_el8.10.0+3952+571e801cALSA-2026:95482
AlmaLinux:8python2-cairo-devel1.16.3-7.module_el8.10.0+4267+35168c80ALSA-2026:95482
AlmaLinux:8python2-cairo-devel1.16.3-7.module_el8.10.0+4175+c208a0bfALSA-2026:95482
Debian:12gimpno fix listedDEBIAN-CVE-2026-112257
Debian:13gimpno fix listedDEBIAN-CVE-2026-112257
Debian:14gimpno fix listedDEBIAN-CVE-2026-112257
Rocky Linux:8gimp2:2.8.22-26.module+el8.10.0+40308+ebf9d253.8RLSA-2026:95482
Rocky Linux:8gimp2:2.8.22-26.module+el8.10.0+40033+6fd27379.3RLSA-2026:95482
Rocky Linux:8gimp2:2.8.22-26.module+el8.10.0+40181+ad0e3a65.6RLSA-2026:95482
Rocky Linux:8gimp2:2.8.22-26.module+el8.10.0+40380+6ffe857b.9RLSA-2026:95482
Rocky Linux:8gimp2:2.8.22-26.module+el8.10.0+40075+a21479b4.4RLSA-2026:95482
Rocky Linux:8gimp2:2.8.22-26.module+el8.10.0+1927+52edb5a0RLSA-2026:95482
Rocky Linux:8gimp2:2.8.22-26.module+el8.10.0+1998+a08ccc48.2RLSA-2026:95482
Rocky Linux:8gimp2:2.8.22-26.module+el8.10.0+40134+eab491b1.5RLSA-2026:95482
Rocky Linux:8gimp2:2.8.22-26.module+el8.10.0+40407+12f45184.10RLSA-2026:95482
Rocky Linux:8pygobject20:2.28.7-5.module+el8.10.0+1927+52edb5a0RLSA-2026:95482
Rocky Linux:8pygtk20:2.24.0-25.module+el8.9.0+1723+9bc93544RLSA-2026:95482
Rocky Linux:8python2-pycairo0:1.16.3-7.module+el8.10.0+1927+52edb5a0RLSA-2026:95482
Ubuntu:26.04:LTSgimpno fix listedUBUNTU-CVE-2026-112257
Ubuntu:26.10gimpno fix listedUBUNTU-CVE-2026-112257

Affected products (as reported)

Weakness: CWE-121 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

References