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: 5 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 PSP 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 PSP 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-28232.
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 5 advisories
- RHSA-2026:2969 Released 2026-02-18 · Red Hat rating Importantgimp security update
- Red Hat Enterprise Linux AppStream E4S (v.9.0) gimp-2:2.99.8-3.el9_0.4, gimp-libs-2:2.99.8-3.el9_0.4
- RHSA-2026:2953 Released 2026-02-18 · Red Hat rating Importantgimp security update
- Red Hat Enterprise Linux AppStream E4S (v.9.2) gimp-2:2.99.8-4.el9_2.4, gimp-libs-2:2.99.8-4.el9_2.4
- RHSA-2026:2950 Released 2026-02-18 · Red Hat rating Importantgimp security update
- Red Hat Enterprise Linux AppStream EUS (v.9.4) gimp-2:2.99.8-4.el9_4.4, gimp-libs-2:2.99.8-4.el9_4.4
Show 2 more Red Hat advisories
- RHSA-2026:2930 Released 2026-02-18 · Red Hat rating Importantgimp security update
- Red Hat Enterprise Linux AppStream EUS (v.9.6) gimp-2:2.99.8-4.el9_6.5, gimp-libs-2:2.99.8-4.el9_6.5
- RHSA-2026:2707 Released 2026-02-16 · Red Hat rating Importantgimp security update
- Red Hat Enterprise Linux AppStream (v. 9) gimp-2:3.0.4-1.el9_7.3, gimp-libs-2:3.0.4-1.el9_7.3
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: Will not fix |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2026:2707 |
| Red Hat Enterprise Linux AppStream E4S (v.9.0) | Fixed | RHSA-2026:2969 |
| Red Hat Enterprise Linux AppStream E4S (v.9.2) | Fixed | RHSA-2026:2953 |
| Red Hat Enterprise Linux AppStream EUS (v.9.4) | Fixed | RHSA-2026:2950 |
| Red Hat Enterprise Linux AppStream EUS (v.9.6) | Fixed | RHSA-2026:2930 |
Not affected: 2 products
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
Timeline
- 2026-10-02 Threatist record created from CVE-2025-15059
- 2026-10-03 Alias added: GHSA-h948-x7vm-x59c
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-15059 · CVE Program
- CVE-2025-15059 · NVD
- FIRST EPSS
- GHSA-h948-x7vm-x59c · GitHub Advisory Database · CC BY 4.0
- CVE-2025-15059 · 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