Heap-based buffer overflow 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: 16 fixed, 1 without a fix
Attack profile from CVSS 3.0 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-122 and the CVSS impact.
Summary
GIMP XWD File Parsing Heap-based Buffer Overflow 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 the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-27823.
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 |
|---|---|---|---|---|---|
| GIMP | GIMP | 3.0.4 | — | No fix listed | CNA |
- GIMP VendorGIMP Affected 3.0.4 Fixed in — No fix listed CNA
Remediation
Red Hat 11 advisories
- RHSA-2026:0356 Released 2026-01-08 · 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+23748+f275078b.3.src::gimp:2.8, gimp-2:2.8.22-18.module+el8.6.0+23748+f275078b.3.x86_64::gimp:2.8, gimp-devel-2:2.8.22-18.module+el8.6.0+23748+f275078b.3.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+23748+f275078b.3.aarch64::gimp:2.8, gimp-2:2.8.22-18.module+el8.6.0+23748+f275078b.3.ppc64le::gimp:2.8, gimp-2:2.8.22-18.module+el8.6.0+23748+f275078b.3.s390x::gimp:2.8 +47
- Red Hat Enterprise Linux AppStream TUS (v.8.6) gimp-2:2.8.22-18.module+el8.6.0+23748+f275078b.3.src::gimp:2.8, gimp-2:2.8.22-18.module+el8.6.0+23748+f275078b.3.x86_64::gimp:2.8, gimp-devel-2:2.8.22-18.module+el8.6.0+23748+f275078b.3.x86_64::gimp:2.8 +15
- RHSA-2026:0250 Released 2026-01-07 · 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+23816+447169fa.5.src::gimp:2.8, gimp-2:2.8.22-16.module+el8.2.0+23816+447169fa.5.x86_64::gimp:2.8, gimp-devel-2:2.8.22-16.module+el8.2.0+23816+447169fa.5.x86_64::gimp:2.8 +15
- RHSA-2026:0027 Released 2026-01-05 · 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+23742+afc45a52.4.ppc64le::gimp:2.8, gimp-2:2.8.22-26.module+el8.8.0+23742+afc45a52.4.src::gimp:2.8, gimp-2:2.8.22-26.module+el8.8.0+23742+afc45a52.4.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+23742+afc45a52.4.src::gimp:2.8, gimp-2:2.8.22-26.module+el8.8.0+23742+afc45a52.4.x86_64::gimp:2.8, gimp-devel-2:2.8.22-26.module+el8.8.0+23742+afc45a52.4.x86_64::gimp:2.8 +15
Show 8 more Red Hat advisories
- RHSA-2025:23857 Released 2025-12-22 · 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+23749+fbc78163.3.src::gimp:2.8, gimp-2:2.8.22-16.module+el8.4.0+23749+fbc78163.3.x86_64::gimp:2.8, gimp-devel-2:2.8.22-16.module+el8.4.0+23749+fbc78163.3.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+23749+fbc78163.3.src::gimp:2.8, gimp-2:2.8.22-16.module+el8.4.0+23749+fbc78163.3.x86_64::gimp:2.8, gimp-devel-2:2.8.22-16.module+el8.4.0+23749+fbc78163.3.x86_64::gimp:2.8 +15
- RHSA-2025:22866 Released 2025-12-09 · Red Hat rating Importantgimp security update
- Red Hat Enterprise Linux Server (v. 7 ELS) gimp-2:2.8.22-1.el7_9.4, gimp-libs-2:2.8.22-1.el7_9.4
- Red Hat Enterprise Linux Server Optional (v. 7 ELS) gimp-2:2.8.22-1.el7_9.4, gimp-devel-2:2.8.22-1.el7_9.4, gimp-devel-2:2.8.22-1.el7_9.4.ppc +3
- RHSA-2025:22496 Released 2025-12-02 · Red Hat rating Importantgimp security update
- Red Hat Enterprise Linux AppStream EUS (v.9.4) gimp-2:2.99.8-4.el9_4.2, gimp-libs-2:2.99.8-4.el9_4.2
- RHSA-2025:22498 Released 2025-12-01 · Red Hat rating Importantgimp security update
- Red Hat Enterprise Linux AppStream E4S (v.9.2) gimp-2:2.99.8-4.el9_2.2, gimp-libs-2:2.99.8-4.el9_2.2
- RHSA-2025:22497 Released 2025-12-01 · Red Hat rating Importantgimp security update
- Red Hat Enterprise Linux AppStream E4S (v.9.0) gimp-2:2.99.8-3.el9_0.2, gimp-libs-2:2.99.8-3.el9_0.2
- RHSA-2025:22445 Released 2025-12-01 · Red Hat rating Importantgimp security update
- Red Hat Enterprise Linux AppStream EUS (v.9.6) gimp-2:2.99.8-4.el9_6.3, gimp-libs-2:2.99.8-4.el9_6.3
- RHSA-2025:22417 Released 2025-12-01 · 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+23719+f0b80de8.3.aarch64::gimp:2.8, gimp-2:2.8.22-26.module+el8.10.0+23719+f0b80de8.3.ppc64le::gimp:2.8, gimp-2:2.8.22-26.module+el8.10.0+23719+f0b80de8.3.s390x::gimp:2.8 +47
- RHSA-2025:21968 Released 2025-11-24 · Red Hat rating Importantgimp security update
- Red Hat Enterprise Linux AppStream (v. 9) gimp-2:3.0.4-1.el9_7.1, gimp-libs-2:3.0.4-1.el9_7.1
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 AppStream (v. 8) | Fixed | RHSA-2025:22417 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2025:21968 |
| Red Hat Enterprise Linux AppStream AUS (v. 8.2) | Fixed | RHSA-2026:0250 |
| Red Hat Enterprise Linux AppStream AUS (v.8.4) | Fixed | RHSA-2025:23857 |
| Red Hat Enterprise Linux AppStream AUS (v.8.6) | Fixed | RHSA-2026:0356 |
| Red Hat Enterprise Linux AppStream E4S (v.8.6) | Fixed | RHSA-2026:0356 |
| Red Hat Enterprise Linux AppStream E4S (v.8.8) | Fixed | RHSA-2026:0027 |
| Red Hat Enterprise Linux AppStream E4S (v.9.0) | Fixed | RHSA-2025:22497 |
| Red Hat Enterprise Linux AppStream E4S (v.9.2) | Fixed | RHSA-2025:22498 |
| Red Hat Enterprise Linux AppStream EUS (v.9.4) | Fixed | RHSA-2025:22496 |
| Red Hat Enterprise Linux AppStream EUS (v.9.6) | Fixed | RHSA-2025:22445 |
| Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.4) | Fixed | RHSA-2025:23857 |
| Red Hat Enterprise Linux AppStream TUS (v.8.6) | Fixed | RHSA-2026:0356 |
| Red Hat Enterprise Linux AppStream TUS (v.8.8) | Fixed | RHSA-2026:0027 |
| Red Hat Enterprise Linux Server (v. 7 ELS) | Fixed | RHSA-2025:22866 |
| Red Hat Enterprise Linux Server Optional (v. 7 ELS) | Fixed | RHSA-2025:22866 |
Timeline
- 2026-10-02 Threatist record created from CVE-2025-10934
- 2026-10-03 Alias added: GHSA-wv7v-cchq-8fjh
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-2025-10934 · CVE Program
- CVE-2025-10934 · NVD
- FIRST EPSS
- GHSA-wv7v-cchq-8fjh · GitHub Advisory Database · CC BY 4.0
- CVE-2025-10934 · 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