Out-of-bounds write in GIMP
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: 14 fixed, 2 without a fix
Attack profile from CVSS 3.0 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-787 and the CVSS impact.
Summary
GIMP XWD File Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of GIMP. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the parsing of XWD files. The issue results from the lack of proper validation of user-supplied data, which can result in a write past the end of an allocated buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-28265.
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
Remediation
Red Hat 10 advisories
- RHSA-2026:5434 Released 2026-03-23 · Red Hat rating Importantgimp:2.8 security update
- Red Hat Enterprise Linux AppStream AUS (v.8.6) gimp-2:2.8.22-18.module+el8.6.0+24108+2257957b.5.src::gimp:2.8, gimp-2:2.8.22-18.module+el8.6.0+24108+2257957b.5.x86_64::gimp:2.8, gimp-devel-2:2.8.22-18.module+el8.6.0+24108+2257957b.5.x86_64::gimp:2.8 +15
- Red Hat Enterprise Linux AppStream E4S (v.8.6) gimp-2:2.8.22-18.module+el8.6.0+24108+2257957b.5.aarch64::gimp:2.8, gimp-2:2.8.22-18.module+el8.6.0+24108+2257957b.5.ppc64le::gimp:2.8, gimp-2:2.8.22-18.module+el8.6.0+24108+2257957b.5.s390x::gimp:2.8 +47
- Red Hat Enterprise Linux AppStream TUS (v.8.6) gimp-2:2.8.22-18.module+el8.6.0+24108+2257957b.5.src::gimp:2.8, gimp-2:2.8.22-18.module+el8.6.0+24108+2257957b.5.x86_64::gimp:2.8, gimp-devel-2:2.8.22-18.module+el8.6.0+24108+2257957b.5.x86_64::gimp:2.8 +15
- RHSA-2026:5437 Released 2026-03-23 · Red Hat rating Importantgimp:2.8 security update
- Red Hat Enterprise Linux AppStream E4S (v.8.8) gimp-2:2.8.22-26.module+el8.8.0+24107+f82cb973.6.ppc64le::gimp:2.8, gimp-2:2.8.22-26.module+el8.8.0+24107+f82cb973.6.src::gimp:2.8, gimp-2:2.8.22-26.module+el8.8.0+24107+f82cb973.6.x86_64::gimp:2.8 +28
- Red Hat Enterprise Linux AppStream TUS (v.8.8) gimp-2:2.8.22-26.module+el8.8.0+24107+f82cb973.6.src::gimp:2.8, gimp-2:2.8.22-26.module+el8.8.0+24107+f82cb973.6.x86_64::gimp:2.8, gimp-devel-2:2.8.22-26.module+el8.8.0+24107+f82cb973.6.x86_64::gimp:2.8 +15
- RHSA-2026:5436 Released 2026-03-23 · Red Hat rating Importantgimp:2.8 security update
- Red Hat Enterprise Linux AppStream AUS (v.8.4) gimp-2:2.8.22-16.module+el8.4.0+24113+b076e1ca.5.src::gimp:2.8, gimp-2:2.8.22-16.module+el8.4.0+24113+b076e1ca.5.x86_64::gimp:2.8, gimp-devel-2:2.8.22-16.module+el8.4.0+24113+b076e1ca.5.x86_64::gimp:2.8 +15
- Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.4) gimp-2:2.8.22-16.module+el8.4.0+24113+b076e1ca.5.src::gimp:2.8, gimp-2:2.8.22-16.module+el8.4.0+24113+b076e1ca.5.x86_64::gimp:2.8, gimp-devel-2:2.8.22-16.module+el8.4.0+24113+b076e1ca.5.x86_64::gimp:2.8 +15
Show 7 more Red Hat advisories
- RHSA-2026:5435 Released 2026-03-23 · Red Hat rating Importantgimp:2.8 security update
- Red Hat Enterprise Linux AppStream AUS (v. 8.2) gimp-2:2.8.22-16.module+el8.2.0+24109+b4c62726.7.src::gimp:2.8, gimp-2:2.8.22-16.module+el8.2.0+24109+b4c62726.7.x86_64::gimp:2.8, gimp-devel-2:2.8.22-16.module+el8.2.0+24109+b4c62726.7.x86_64::gimp:2.8 +15
- RHSA-2026:5391 Released 2026-03-23 · Red Hat rating Importantgimp security update
- Red Hat Enterprise Linux AppStream EUS (v.9.4) gimp-2:2.99.8-4.el9_4.5, gimp-libs-2:2.99.8-4.el9_4.5
- RHSA-2026:5389 Released 2026-03-23 · Red Hat rating Importantgimp security update
- Red Hat Enterprise Linux AppStream E4S (v.9.2) gimp-2:2.99.8-4.el9_2.5, gimp-libs-2:2.99.8-4.el9_2.5
- RHSA-2026:5390 Released 2026-03-23 · Red Hat rating Importantgimp security update
- Red Hat Enterprise Linux AppStream E4S (v.9.0) gimp-2:2.99.8-3.el9_0.5, gimp-libs-2:2.99.8-3.el9_0.5
- RHSA-2026:5388 Released 2026-03-23 · Red Hat rating Importantgimp security update
- Red Hat Enterprise Linux AppStream EUS (v.9.6) gimp-2:2.99.8-4.el9_6.6, gimp-libs-2:2.99.8-4.el9_6.6
- RHSA-2026:5113 Released 2026-03-19 · Red Hat rating Importantgimp:2.8 security update
- Red Hat Enterprise Linux AppStream (v. 8) gimp-2:2.8.22-26.module+el8.10.0+24086+d017a7e0.5.aarch64::gimp:2.8, gimp-2:2.8.22-26.module+el8.10.0+24086+d017a7e0.5.ppc64le::gimp:2.8, gimp-2:2.8.22-26.module+el8.10.0+24086+d017a7e0.5.s390x::gimp:2.8 +47
- RHSA-2026:4173 Released 2026-03-10 · Red Hat rating Importantgimp security update
- Red Hat Enterprise Linux AppStream (v. 9) gimp-2:3.0.4-1.el9_7.4, gimp-libs-2:3.0.4-1.el9_7.4
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2026:5113 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2026:4173 |
| Red Hat Enterprise Linux AppStream AUS (v. 8.2) | Fixed | RHSA-2026:5435 |
| Red Hat Enterprise Linux AppStream AUS (v.8.4) | Fixed | RHSA-2026:5436 |
| Red Hat Enterprise Linux AppStream AUS (v.8.6) | Fixed | RHSA-2026:5434 |
| Red Hat Enterprise Linux AppStream E4S (v.8.6) | Fixed | RHSA-2026:5434 |
| Red Hat Enterprise Linux AppStream E4S (v.8.8) | Fixed | RHSA-2026:5437 |
| Red Hat Enterprise Linux AppStream E4S (v.9.0) | Fixed | RHSA-2026:5390 |
| Red Hat Enterprise Linux AppStream E4S (v.9.2) | Fixed | RHSA-2026:5389 |
| Red Hat Enterprise Linux AppStream EUS (v.9.4) | Fixed | RHSA-2026:5391 |
| Red Hat Enterprise Linux AppStream EUS (v.9.6) | Fixed | RHSA-2026:5388 |
| Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.4) | Fixed | RHSA-2026:5436 |
| Red Hat Enterprise Linux AppStream TUS (v.8.6) | Fixed | RHSA-2026:5434 |
| Red Hat Enterprise Linux AppStream TUS (v.8.8) | Fixed | RHSA-2026:5437 |
Timeline
- 2026-10-02 Threatist record created from CVE-2026-2045
- 2026-10-03 Alias added: GHSA-wx92-h8q5-hfm6
References
Patch 1
Advisory 1
More Gimp vulnerabilities
- TI-2023-23949 Integer overflow in GIMP CVSS 3.0HIGH 7.8
- TI-2026-42270 Gimp: gimp: arbitrary code execution in psd plugin due to unsigned underflow CVSS 3.1CRITICAL 9.9
- TI-2012-02388 Buffer overflow in the readstr_upto function in plug-ins/script-fu/tinyscheme/scheme.c in… CVSS 2.0HIGH 7.5
- TI-2023-23948 Heap-based buffer overflow in GIMP CVSS 3.0HIGH 7.8
- TI-2023-23950 GIMP PSP File Parsing Off-By-One Remote Code Execution Vulnerability CVSS 3.0HIGH 7.8
- TI-2026-54560 Gimp: integer overflow in pcx loader (planes=4) leads to heap overflow on 32-bit CVSS 3.1HIGH 7.0
Sources
- CVE-2026-2045 · CVE Program
- CVE-2026-2045 · NVD
- FIRST EPSS
- GHSA-wx92-h8q5-hfm6 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-2045 · 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