Description
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-28874.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| GIMP | GIMP | 3.0.8 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | gimp | 3.2.0-1 | — |
| Debian 13 | gimp | 3.0.4-3+deb13u8 | — |
| Debian 12 | gimp | 2.10.34-1+deb12u10 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 25.10 | gimp | No fix yet | — |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 24.04 LTS | gimp | No fix yet | — |
| Ubuntu Pro 22.04 LTS | gimp | No fix yet | — |
| Ubuntu Pro 20.04 LTS | gimp | No fix yet | — |
| Ubuntu Pro 18.04 LTS | gimp | No fix yet | — |
| Ubuntu Pro 16.04 LTS | gimp | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9 | gimp +1 | 2:3.0.4-1.el9_7.5 | RHSA-2026:19362, RHSA-2026:16484 |
| RHEL 8 | gimp +3 | 2:2.8.22-26.module+el8.10.0+24277+6acc3952.6 | RHSA-2026:17533 |
| RHEL 8 | pygobject2 +3 | 2.28.7-5.module+el8.10.0+22676+becd68d6 | RHSA-2026:17533 |
| RHEL 8 | pygtk2 +3 | 2.24.0-25.module+el8.9.0+21228+8e80d31d | RHSA-2026:17533 |
| RHEL 8 | python2-cairo +2 | 1.16.3-7.module+el8.10.0+22676+becd68d6 | RHSA-2026:17533 |
Show 12 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9.6 EUS | gimp +1 | 2:2.99.8-4.el9_6.7 | RHSA-2026:25901 |
| RHEL 9.4 E4S | gimp +1 | 2:2.99.8-4.el9_4.6 | RHSA-2026:25907 |
| RHEL 9.2 E4S | gimp +1 | 2:2.99.8-4.el9_2.6 | RHSA-2026:25899 |
| RHEL 9.0 E4S | gimp +1 | 2:2.99.8-3.el9_0.6 | RHSA-2026:20691 |
| RHEL 8.8 TUS | gimp +3 | 2:2.8.22-26.module+el8.8.0+24316+5c5e4d76.7 | RHSA-2026:20554 |
| RHEL 8.8 TUS | pygobject2 +3 | 2.28.7-4.module+el8+2760+3d7d61b2 | RHSA-2026:20554 |
| RHEL 8.8 TUS | pygtk2 +3 | 2.24.0-25.module+el8.4.0+9382+ff08b506 | RHSA-2026:20554 |
| RHEL 8.8 TUS | python2-cairo +2 | 1.16.3-6.module+el8+2760+3d7d61b2 | RHSA-2026:20554 |
| RHEL 8.8 E4S | gimp +3 | 2:2.8.22-26.module+el8.8.0+24316+5c5e4d76.7 | RHSA-2026:20554 |
| RHEL 8.8 E4S | pygobject2 +3 | 2.28.7-4.module+el8+2760+3d7d61b2 | RHSA-2026:20554 |
| RHEL 8.8 E4S | pygtk2 +3 | 2.24.0-25.module+el8.4.0+9382+ff08b506 | RHSA-2026:20554 |
| RHEL 8.8 E4S | python2-cairo +2 | 1.16.3-6.module+el8+2760+3d7d61b2 | RHSA-2026:20554 |
| RHEL 8.6 TUS | gimp +3 | 2:2.8.22-18.module+el8.6.0+24319+86704323.6 | RHSA-2026:20553 |
| RHEL 8.6 TUS | pygobject2 +3 | 2.28.7-4.module+el8+2760+3d7d61b2 | RHSA-2026:20553 |
| RHEL 8.6 TUS | pygtk2 +3 | 2.24.0-25.module+el8.4.0+9382+ff08b506 | RHSA-2026:20553 |
| RHEL 8.6 TUS | python2-cairo +2 | 1.16.3-6.module+el8+2760+3d7d61b2 | RHSA-2026:20553 |
| RHEL 8.6 E4S | gimp +3 | 2:2.8.22-18.module+el8.6.0+24319+86704323.6 | RHSA-2026:20553 |
| RHEL 8.6 E4S | pygobject2 +3 | 2.28.7-4.module+el8+2760+3d7d61b2 | RHSA-2026:20553 |
| RHEL 8.6 E4S | pygtk2 +3 | 2.24.0-25.module+el8.4.0+9382+ff08b506 | RHSA-2026:20553 |
| RHEL 8.6 E4S | python2-cairo +2 | 1.16.3-6.module+el8+2760+3d7d61b2 | RHSA-2026:20553 |
| RHEL 8.6 AUS | gimp +3 | 2:2.8.22-18.module+el8.6.0+24319+86704323.6 | RHSA-2026:20553 |
| RHEL 8.6 AUS | pygobject2 +3 | 2.28.7-4.module+el8+2760+3d7d61b2 | RHSA-2026:20553 |
| RHEL 8.6 AUS | pygtk2 +3 | 2.24.0-25.module+el8.4.0+9382+ff08b506 | RHSA-2026:20553 |
| RHEL 8.6 AUS | python2-cairo +2 | 1.16.3-6.module+el8+2760+3d7d61b2 | RHSA-2026:20553 |
| RHEL 8.4 EUS Long Life | gimp +3 | 2:2.8.22-16.module+el8.4.0+24320+2aeffe15.6 | RHSA-2026:20552 |
| RHEL 8.4 EUS Long Life | pygobject2 +3 | 2.28.7-4.module+el8+2760+3d7d61b2 | RHSA-2026:20552 |
| RHEL 8.4 EUS Long Life | pygtk2 +3 | 2.24.0-25.module+el8.4.0+9382+ff08b506 | RHSA-2026:20552 |
| RHEL 8.4 EUS Long Life | python2-cairo +2 | 1.16.3-6.module+el8+2760+3d7d61b2 | RHSA-2026:20552 |
| RHEL 8.4 AUS | gimp +3 | 2:2.8.22-16.module+el8.4.0+24320+2aeffe15.6 | RHSA-2026:20552 |
| RHEL 8.4 AUS | pygobject2 +3 | 2.28.7-4.module+el8+2760+3d7d61b2 | RHSA-2026:20552 |
| RHEL 8.4 AUS | pygtk2 +3 | 2.24.0-25.module+el8.4.0+9382+ff08b506 | RHSA-2026:20552 |
| RHEL 8.4 AUS | python2-cairo +2 | 1.16.3-6.module+el8+2760+3d7d61b2 | RHSA-2026:20552 |
| RHEL 7 ELS | gimp +3 | 2:2.8.22-1.el7_9.6 | RHSA-2026:26168 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 9 | gimp +1 | 2:3.0.4-1.el9_7.5 | ALSA-2026:19362, ALSA-2026:16484 |
| AlmaLinux 8 | gimp +3 | 2:2.8.22-26.module_el8.10.0+4175+c208a0bf.6 | ALSA-2026:17533 |
| AlmaLinux 8 | pygobject2 +1 | 2.28.7-5.module_el8.10.0+3952+571e801c | ALSA-2026:17533 |
| AlmaLinux 8 | pygobject2-doc +1 | 2.28.7-5.module_el8.10.0+4137+2d0d25cf | ALSA-2026:17533 |
| AlmaLinux 8 | pygtk2 +3 | 2.24.0-25.module_el8.9.0+3725+d1441900 | ALSA-2026:17533 |
| AlmaLinux 8 | python2-cairo +1 | 1.16.3-7.module_el8.10.0+3952+571e801c | ALSA-2026:17533 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 9 | gimp | 2:3.0.4-1.el9_7.5 | RLSA-2026:16484 |
| Rocky Linux 8 | gimp | 2:2.8.22-26.module+el8.10.0+1927+52edb5a0 | RLSA-2026:17533 |
| Rocky Linux 8 | pygobject2 | 2.28.7-5.module+el8.10.0+1927+52edb5a0 | RLSA-2026:17533 |
| Rocky Linux 8 | pygtk2 | 2.24.0-25.module+el8.9.0+1723+9bc93544 | RLSA-2026:17533 |
| Rocky Linux 8 | python2-pycairo | 1.16.3-7.module+el8.10.0+1927+52edb5a0 | RLSA-2026:17533 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | gimp | 2.10.30-150400.3.50.1 | SUSE-SU-2026:1193-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 16.0 | gimp | 3.0.8-bp160.3.1 | openSUSE-SU-2026:20428-1 |
| openSUSE Leap 15.6 | gimp | 2.10.30-150400.3.50.1 | SUSE-SU-2026:1193-1 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | gimp +1 | 2:3.0.4-1.el9_7.5 | ELSA-2026-19362, ELSA-2026-16484 |
| Oracle Linux 8 | gimp +3 | 2:2.8.22-26.module+el8.10.0+90890+b83bdeeb.6 | ELSA-2026-17533 |
| Oracle Linux 8 | pygobject2 +3 | 2.28.7-5.module+el8.10.0+90497+ae78887f | ELSA-2026-17533 |
| Oracle Linux 8 | pygtk2 +3 | 2.24.0-25.module+el8.9.0+90151+46a7e4b5 | ELSA-2026-17533 |
| Oracle Linux 8 | python2-cairo +1 | 1.16.3-7.module+el8.10.0+90497+ae78887f | ELSA-2026-17533 |
| Oracle Linux 7 | gimp +3 | 2:2.8.22-1.0.9.el7 | ELSA-2026-26168 |
Advisories 23
- WID-SEC-2026-0802 GIMP: Mehrere Schwachstellen ermöglichen Codeausführung BSI CERT-Bund (WID) · Nov 5, 2026
- ALSA-2026:19362 Important: gimp security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2026:16484 Important: gimp security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2026:17533 Important: gimp:2.8 security update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2026:26168 Red Hat Security Advisory: gimp security update Red Hat Security Advisories (RHSA) · Oct 3, 2026
- RHSA-2026:25907 Red Hat Security Advisory: gimp security update Red Hat Security Advisories (RHSA) · Oct 3, 2026
- RHSA-2026:25899 Red Hat Security Advisory: gimp security update Red Hat Security Advisories (RHSA) · Oct 3, 2026
- RHSA-2026:25901 Red Hat Security Advisory: gimp security update Red Hat Security Advisories (RHSA) · Oct 3, 2026
- RHSA-2026:20691 Red Hat Security Advisory: gimp security update Red Hat Security Advisories (RHSA) · Oct 3, 2026
- RHSA-2026:20554 Red Hat Security Advisory: gimp:2.8 security update Red Hat Security Advisories (RHSA) · Oct 3, 2026
- RHSA-2026:20553 Red Hat Security Advisory: gimp:2.8 security update Red Hat Security Advisories (RHSA) · Oct 3, 2026
- RHSA-2026:20552 Red Hat Security Advisory: gimp:2.8 security update Red Hat Security Advisories (RHSA) · Oct 3, 2026
- RHSA-2026:19362 Red Hat Security Advisory: gimp security update Red Hat Security Advisories (RHSA) · Oct 3, 2026
- RHSA-2026:17533 Red Hat Security Advisory: gimp:2.8 security update Red Hat Security Advisories (RHSA) · Oct 3, 2026
- RHSA-2026:16484 Red Hat Security Advisory: gimp security update Red Hat Security Advisories (RHSA) · Oct 3, 2026
- ELSA-2026-26168 Important: gimp security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Jul 30, 2026
- ELSA-2026-19362 Important: gimp security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Jun 23, 2026
- ELSA-2026-17533 Important: gimp:2.8 security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · May 15, 2026
- RLSA-2026:17533 Important: gimp:2.8 security update Rocky Linux Security Advisories · May 14, 2026
- RLSA-2026:16484 Important: gimp security update Rocky Linux Security Advisories · May 14, 2026
- ELSA-2026-16484 Important: gimp security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · May 13, 2026
- SUSE-SU-2026:1193-1 Security update for gimp SUSE / openSUSE Security Updates · Apr 8, 2026
- openSUSE-SU-2026:20428-1 Security update for gimp SUSE / openSUSE Security Updates · Mar 29, 2026
References
- ZDI-26-220
- vendor-provided URL vendor-advisory