Skip to content
Fencer Vulns
high 7.8

CVE-2026-112257 json

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

published 2026-10-19 20 d ago modified 2026-11-05 3 d ago also EUVD-2026-104651

cvss
7.8
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.2%
EPSS 0.2% chance of exploitation in 30 days, percentile 7%
public exploits
0
none known

Summary

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.

Patch / fix

  • Red Hat Red Hat Enterprise Linux 8 8100020261023073604.4c9c024f
  • Red Hat Red Hat Enterprise Linux 9 2:3.0.4-4.el9_8.15
  • gimp Debian 14 3.2.8-1

debian advisories DEBIAN-CVE-2026-112257

  • gimp AlmaLinux 8 2:2.8.22-26.module_el8.10.0+4352+8516153e.10
  • pygtk2 AlmaLinux 8 2.24.0-25.module_el8.9.0+3725+d1441900
  • gimp-libs AlmaLinux 8 2:2.8.22-26.module_el8.10.0+4352+8516153e.10
  • pygobject2 AlmaLinux 8 2.28.7-5.module_el8.10.0+4267+35168c80
  • pygobject2 AlmaLinux 8 2.28.7-5.module_el8.10.0+4175+c208a0bf
  • pygobject2 AlmaLinux 8 2.28.7-5.module_el8.10.0+4137+2d0d25cf
  • python2-cairo AlmaLinux 8 1.16.3-7.module_el8.10.0+4267+35168c80
  • python2-cairo AlmaLinux 8 1.16.3-7.module_el8.10.0+4175+c208a0bf

almalinux advisories ALSA-2026:95482ALSA-2026:93975

  • gimp Rocky Linux 8 2:2.8.22-26.module+el8.10.0+1927+52edb5a0
  • gimp Rocky Linux 8 2:2.8.22-26.module+el8.10.0+1998+a08ccc48.2
  • gimp Rocky Linux 8 2:2.8.22-26.module+el8.10.0+40134+eab491b1.5
  • gimp Rocky Linux 8 2:2.8.22-26.module+el8.10.0+40407+12f45184.10
  • gimp Rocky Linux 8 2:2.8.22-26.module+el8.10.0+40308+ebf9d253.8
  • gimp Rocky Linux 8 2:2.8.22-26.module+el8.10.0+40033+6fd27379.3
  • gimp Rocky Linux 8 2:2.8.22-26.module+el8.10.0+40181+ad0e3a65.6
  • gimp Rocky Linux 8 2:2.8.22-26.module+el8.10.0+40075+a21479b4.4

rocky linux advisories RLSA-2026:95482

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-112257 updated cvss 7.8

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

  • Red Hat Enterprise Linux 6 gimp, gimp-libs, gimp-devel-tools, gimp-help-browser
    affected: workaround, no fix planned “Avoid opening or browsing untrusted PSD files in GIMP. If GIMP is unused, remove the gimp package.”
  • Red Hat Enterprise Linux 7 gimp, gimp-libs, gimp-devel-tools
    affected: workaround, no fix available “Avoid opening or browsing untrusted PSD files in GIMP. If GIMP is unused, remove the gimp package.”
  • Red Hat Enterprise Linux 10 gimp
    affected: workaround, no fix planned “Avoid opening or browsing untrusted PSD files in GIMP. If GIMP is unused, remove the gimp package.”
  • Red Hat Enterprise Linux AppStream (v. 8) pygtk2 2.24.0-25.module+el8.9.0+21228+8e80d31d, gimp 2.8.22-26.module+el8.10.0+25170+1f1aa845.10, pygobject2 2.28.7-5.module+el8.10.0+22676+becd68d6, gimp-libs 2.8.22-26.module+el8.10.0+25170+1f1aa845.10, python2-cairo 1.16.3-7.module+el8.10.0+22676+becd68d6, pygtk2-codegen 2.24.0-25.module+el8.9.0+21228+8e80d31d, +3 more
    fixed: vendor fix “Avoid opening or browsing untrusted PSD files in GIMP. If GIMP is unused, remove the gimp package.” RHSA-2026:95482
  • Red Hat Enterprise Linux AppStream (v. 9) gimp 3.0.4-4.el9_8.15, gimp-libs 3.0.4-4.el9_8.15
    fixed: vendor fix “Avoid opening or browsing untrusted PSD files in GIMP. If GIMP is unused, remove the gimp package.” RHSA-2026:93975

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
19 d ago

Exploit prediction

0.18% chance of exploitation in the next 30 days, higher than 7% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected products

  • 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

Classification

Weakness
  • CWE-121 Stack-based Buffer Overflow

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.