Out-of-bounds read and write in GIMP PSD thumbnail loader
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 2 fixed, 3 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-121 and the CVSS impact.
Summary
GIMP in Red Hat Enterprise Linux 6, 7, 8, 9 and 10 has an out-of-bounds read and write in its PSD thumbnail loader. The loader swaps BGR to RGB with a fixed 3-byte stride without checking that the JPEG thumbnail is RGB, so a crafted grayscale PSD thumbnail causes heap memory corruption. An attacker who gets a victim to browse or open the crafted file can crash the plug-in process and potentially execute arbitrary code.
Written with Claude Haiku 5.5 from the sources below · 2026-11-06
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 8 | — | 8100020261023073604.4c9c024f | Patch available | CNA |
| Red Hat | Red Hat Enterprise Linux 9 | — | 2:3.0.4-4.el9_8.15 | Patch available | CNA |
| Red Hat | Red Hat Enterprise Linux 10 | — | — | No fix listed | CNA |
| Red Hat | Red Hat Enterprise Linux 6 | — | — | No fix listed | CNA |
| Red Hat | Red Hat Enterprise Linux 7 | — | — | No fix listed | CNA |
- Red Hat Enterprise Linux 8 VendorRed Hat Affected — Fixed in 8100020261023073604.4c9c024f Patch available CNA
- Red Hat Enterprise Linux 9 VendorRed Hat Affected — Fixed in 2:3.0.4-4.el9_8.15 Patch available CNA
- Red Hat Enterprise Linux 10 VendorRed Hat Affected — Fixed in — No fix listed CNA
- Red Hat Enterprise Linux 6 VendorRed Hat Affected — Fixed in — No fix listed CNA
- Red Hat Enterprise Linux 7 VendorRed Hat Affected — Fixed in — No fix listed CNA
Remediation
Red Hat Enterprise Linux 8 fixes this in version 8100020261023073604.4c9c024f, per RHSA-2026:95482. Red Hat Enterprise Linux 9 fixes this in version 2:3.0.4-4.el9_8.15, per RHSA-2026:93975. The sources list no fixed version for Red Hat Enterprise Linux 6, 7 and 10.
Written with Claude Haiku 5.5 from the sources below · 2026-11-06
Red Hat 2 advisories
- RHSA-2026:95482 Released 2026-11-05 · Red Hat rating Importantgimp:2.8 security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 8) gimp-2:2.8.22-26.module+el8.10.0+25170+1f1aa845.10.aarch64::gimp:2.8, gimp-2:2.8.22-26.module+el8.10.0+25170+1f1aa845.10.ppc64le::gimp:2.8, gimp-2:2.8.22-26.module+el8.10.0+25170+1f1aa845.10.s390x::gimp:2.8 +47
- RHSA-2026:93975 Released 2026-11-02 · Red Hat rating Importantgimp security update
- Red Hat Enterprise Linux AppStream (v. 9) gimp-2:3.0.4-4.el9_8.15, gimp-libs-2:3.0.4-4.el9_8.15
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix yet |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2026:95482 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2026:93975 |
Timeline
- 2026-10-20 Threatist record created from CVE-2026-112257
- 2026-10-20 Alias added: GHSA-cch8-wx4h-hxqr
- 2026-10-20 Affected versions changed · Red Hat
- 2026-10-20 CVSS score added · Red Hat
- 2026-10-20 CISA SSVC decision points changed
- 2026-10-20 Priority changed: MEDIUM → LOW
- 2026-10-21 Affected versions changed · Red Hat
- 2026-11-02 Fix available: Red Hat Enterprise Linux AppStream (v. 9) · Red Hat
- 2026-11-02 Fix available: gimp@2:3.0.4-4.el9_8.15 · CNA
- 2026-11-02 1 new reference · CNA
- 2026-11-03 Fix available: RHSA-2026:93975 · Red Hat
- 2026-11-05 Fix available: gimp:[email protected] · CNA
- 2026-11-05 1 new reference · CNA
- 2026-11-05 Fix available: Red Hat Enterprise Linux AppStream (v. 8) · Red Hat
- 2026-11-06 Fix available: RHSA-2026:95482 · Red Hat
References
More Red Hat vulnerabilities
- TI-2019-15875 Protection mechanism failure in Jenkins Pipeline: Groovy Plugin KEVCVSS 3.1CRITICAL 9.9
- TI-2019-15874 Protection mechanism failure in Jenkins Script Security Plugin KEVCVSS 3.1CRITICAL 9.9
- TI-2019-08259 Underflow in PHP-FPM can lead to RCE KEVCVSS 3.1CRITICAL 9.8
- TI-2019-05363 Code injection in Elastic Kibana KEVCVSS 3.1CRITICAL 10.0
- TI-2019-03949 Out-of-bounds write in ESXi and Horizon DaaS KEVCVSS 3.1CRITICAL 9.8
- TI-2018-16080 A code execution vulnerability exists in the Stapler web framework used by Jenkins 2.153… KEVCVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-112257 · CVE Program
- CVE-2026-112257 · NVD
- FIRST EPSS
- GHSA-cch8-wx4h-hxqr · GitHub Advisory Database · CC BY 4.0
- CVE-2026-112257 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences