cve.bz

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

7.8 highEPSS 0.2%Fix available

High (7.8) in red hat. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
0.2% (unchanged from 0.2% a week ago) estimated probability of exploitation activity in the next 30 days; 7th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-10-20. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-121 Stack-based Buffer Overflow
Published
Modified
Assigned by
redhat (CNA)
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

  • Red Hat Red Hat Enterprise Linux 8: fixed in 8100020261023073604.4c9c024f
  • Red Hat Red Hat Enterprise Linux 9: fixed in 2:3.0.4-4.el9_8.15
  • Red Hat Red Hat Enterprise Linux 9: fixed in 2:3.0.4-8.el9_9.5
  • Debian, Red Hat, AlmaLinux, Rocky Linux: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2026-112257 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-112257?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-112257?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-112257 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

  • 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
  • red hat:red hat enterprise linux 9

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Enterprise Linux 88100020261023073604.4c9c024f
Red Hat Enterprise Linux 92:3.0.4-4.el9_8.15
Red Hat Enterprise Linux 92:3.0.4-8.el9_9.5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13gimpno fix listedDEBIAN-CVE-2026-112257
Debian14gimp3.2.8-1DEBIAN-CVE-2026-112257
Ubuntu26.04:LTS, 26.10, Pro:16.04:LTS and 4 moregimpno fix listedUBUNTU-CVE-2026-112257
Red Hatenterprise_linux:8::appstreamgimp, gimp-libs, gimp-devel and 5 more2:2.8.22-26.module+el8.10.0+25170+1f1aa845.10RHSA-2026:95482
Red Hatenterprise_linux:8::appstreampygobject2, pygobject2-doc, pygobject2-devel and 3 more0:2.28.7-5.module+el8.10.0+22676+becd68d6RHSA-2026:95482
Red Hatenterprise_linux:8::appstreampygtk2, pygtk2-doc, pygtk2-devel and 3 more0:2.24.0-25.module+el8.9.0+21228+8e80d31dRHSA-2026:95482
Red Hatenterprise_linux:8::appstreampython2-cairo, python2-pycairo, python2-cairo-devel and 2 more0:1.16.3-7.module+el8.10.0+22676+becd68d6RHSA-2026:95482
Red Hatenterprise_linux:9::appstreamgimp, gimp-libs, gimp-debuginfo and 3 more2:3.0.4-4.el9_8.15RHSA-2026:93975
Red Hatenterprise_linux:9::appstreamgimp, gimp-libs, gimp-debuginfo and 3 more2:3.0.4-8.el9_9.5RHSA-2026:98495
AlmaLinux8gimp, gimp-libs, gimp-devel and 1 more2:2.8.22-26.module_el8.10.0+4352+8516153e.10ALSA-2026:95482
AlmaLinux8pygobject2, pygobject2-codegen2.28.7-5.module_el8.10.0+4175+c208a0bfALSA-2026:95482
AlmaLinux8pygobject2, pygobject2-doc, pygobject2-devel2.28.7-5.module_el8.10.0+4137+2d0d25cfALSA-2026:95482
AlmaLinux8pygobject2, pygobject2-doc, pygobject2-devel and 1 more2.28.7-5.module_el8.10.0+4267+35168c80ALSA-2026:95482
AlmaLinux8pygobject2-devel2.28.7-5.module_el8.10.0+3952+571e801cALSA-2026:95482
AlmaLinux8pygtk2, pygtk2-doc, pygtk2-devel and 1 more2.24.0-25.module_el8.9.0+3725+d1441900ALSA-2026:95482
AlmaLinux8python2-cairo1.16.3-7.module_el8.10.0+3952+571e801cALSA-2026:95482
AlmaLinux8python2-cairo, python2-cairo-devel1.16.3-7.module_el8.10.0+4175+c208a0bfALSA-2026:95482
AlmaLinux8python2-cairo, python2-cairo-devel1.16.3-7.module_el8.10.0+4267+35168c80ALSA-2026:95482
AlmaLinux9gimp, gimp-libs2:3.0.4-4.el9_8.15ALSA-2026:93975
Rocky Linux8gimp2:2.8.22-26.module+el8.10.0+1927+52edb5a0RLSA-2026:95482
Rocky Linux8gimp2:2.8.22-26.module+el8.10.0+1998+a08ccc48.2RLSA-2026:95482
Rocky Linux8gimp2:2.8.22-26.module+el8.10.0+40033+6fd27379.3RLSA-2026:95482
Rocky Linux8gimp2:2.8.22-26.module+el8.10.0+40075+a21479b4.4RLSA-2026:95482
Rocky Linux8gimp2:2.8.22-26.module+el8.10.0+40134+eab491b1.5RLSA-2026:95482
Rocky Linux8gimp2:2.8.22-26.module+el8.10.0+40181+ad0e3a65.6RLSA-2026:95482
Rocky Linux8gimp2:2.8.22-26.module+el8.10.0+40308+ebf9d253.8RLSA-2026:95482
Rocky Linux8gimp2:2.8.22-26.module+el8.10.0+40380+6ffe857b.9RLSA-2026:95482
Rocky Linux8gimp2:2.8.22-26.module+el8.10.0+40407+12f45184.10RLSA-2026:95482
Rocky Linux8pygobject20:2.28.7-5.module+el8.10.0+1927+52edb5a0RLSA-2026:95482
Rocky Linux8pygtk20:2.24.0-25.module+el8.9.0+1723+9bc93544RLSA-2026:95482
Rocky Linux8python2-pycairo0:1.16.3-7.module+el8.10.0+1927+52edb5a0RLSA-2026:95482

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This Important flaw affects the PSD plug-in thumbnail path. Exploitation requires user interaction (browsing a folder with a crafted PSD in GIMP’s file dialog, or opening the file). Red Hat rates this Important.

Red Hat's mitigation

Avoid opening or browsing untrusted PSD files in GIMP. If GIMP is unused, remove the gimp package.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8gimp:2.8-8100020261023073604.4c9c024fFixed 2026-11-05RHSA-2026:95482
Red Hat Enterprise Linux 9gimp-2:3.0.4-4.el9_8.15Fixed 2026-11-02RHSA-2026:93975
Red Hat Enterprise Linux 10gimpWill not fix
Red Hat Enterprise Linux 6gimpOut of support scope
Red Hat Enterprise Linux 7gimpAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-112257.

References

Check your stackJSON