Description
GIMP PSP File Parsing Off-By-One 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. Crafted data in a PSP file can trigger an off-by-one error when calculating a location to write within a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process.
. Was ZDI-CAN-22097.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| GIMP | GIMP | GIMP 2.10.34 (revision 2) | — |
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 | 2.10.36-1 | — |
| Debian 13 | gimp | 2.10.36-1 | — |
| Debian 12 | gimp | 2.10.34-1+deb12u1 | DSA-5564-1 |
| Debian 11 | gimp | 2.10.22-4+deb11u1 | DSA-5564-1 |
| Debian 10 | gimp | 2.10.8-2+deb10u1 | DLA-3659-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | gimp | 2.10.30-1ubuntu0.1 | USN-6521-1 |
| Ubuntu 20.04 LTS | gimp | 2.10.18-1ubuntu0.1 | USN-6521-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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:2.99.8-4.el9_3 | RHSA-2025:7417, RHSA-2025:3617, RHSA-2024:0675 |
| RHEL 8 | gimp +3 | 2:2.8.22-25.module+el8.9.0+21239+e25d5ab1 | RHSA-2025:0746, RHSA-2024:0861 |
| RHEL 8 | pygobject2 +3 | 2.28.7-4.module+el8.9.0+21228+8e80d31d | RHSA-2025:0746, RHSA-2024:0861 |
| RHEL 8 | pygtk2 +3 | 2.24.0-25.module+el8.9.0+21228+8e80d31d | RHSA-2025:0746, RHSA-2024:0861 |
| RHEL 8 | python2-cairo +2 | 1.16.3-6.module+el8.9.0+21228+8e80d31d | RHSA-2025:0746, RHSA-2024:0861 |
Show 12 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9.4 EUS | gimp +1 | 2:2.99.8-4.el9_4 | RHSA-2025:3629 |
| RHEL 9.2 EUS | gimp +1 | 2:2.99.8-4.el9_2 | RHSA-2024:0702 |
| RHEL 9.0 EUS | gimp +1 | 2:2.99.8-3.el9_0 | RHSA-2024:0716 |
| RHEL 8.8 EUS | gimp +3 | 2:2.8.22-25.module+el8.8.0+21240+7db4aa5a | RHSA-2024:0862 |
| RHEL 8.8 EUS | pygobject2 +3 | 2.28.7-4.module+el8+2760+3d7d61b2 | RHSA-2024:0862 |
| RHEL 8.8 EUS | pygtk2 +3 | 2.24.0-25.module+el8.4.0+9382+ff08b506 | RHSA-2024:0862 |
| RHEL 8.8 EUS | python2-cairo +2 | 1.16.3-6.module+el8+2760+3d7d61b2 | RHSA-2024:0862 |
| RHEL 8.6 EUS | gimp +3 | 2:2.8.22-18.module+el8.6.0+21241+b15d72f3 | RHSA-2024:0863 |
| RHEL 8.6 EUS | pygobject2 +3 | 2.28.7-4.module+el8+2760+3d7d61b2 | RHSA-2024:0863 |
| RHEL 8.6 EUS | pygtk2 +3 | 2.24.0-25.module+el8.4.0+9382+ff08b506 | RHSA-2024:0863 |
| RHEL 8.6 EUS | python2-cairo +2 | 1.16.3-6.module+el8+2760+3d7d61b2 | RHSA-2024:0863 |
| RHEL 8.4 TUS | gimp +3 | 2:2.8.22-16.module+el8.4.0+21284+53f03f2b | RHSA-2024:1007 |
| RHEL 8.4 TUS | pygobject2 +3 | 2.28.7-4.module+el8+2760+3d7d61b2 | RHSA-2024:1007 |
| RHEL 8.4 TUS | pygtk2 +3 | 2.24.0-25.module+el8.4.0+9382+ff08b506 | RHSA-2024:1007 |
| RHEL 8.4 TUS | python2-cairo +2 | 1.16.3-6.module+el8+2760+3d7d61b2 | RHSA-2024:1007 |
| RHEL 8.4 E4S | gimp +3 | 2:2.8.22-16.module+el8.4.0+21284+53f03f2b | RHSA-2024:1007 |
| RHEL 8.4 E4S | pygobject2 +3 | 2.28.7-4.module+el8+2760+3d7d61b2 | RHSA-2024:1007 |
| RHEL 8.4 E4S | pygtk2 +3 | 2.24.0-25.module+el8.4.0+9382+ff08b506 | RHSA-2024:1007 |
| RHEL 8.4 E4S | python2-cairo +2 | 1.16.3-6.module+el8+2760+3d7d61b2 | RHSA-2024:1007 |
| RHEL 8.4 AUS | gimp +3 | 2:2.8.22-16.module+el8.4.0+21284+53f03f2b | RHSA-2024:1007 |
| RHEL 8.4 AUS | pygobject2 +3 | 2.28.7-4.module+el8+2760+3d7d61b2 | RHSA-2024:1007 |
| RHEL 8.4 AUS | pygtk2 +3 | 2.24.0-25.module+el8.4.0+9382+ff08b506 | RHSA-2024:1007 |
| RHEL 8.4 AUS | python2-cairo +2 | 1.16.3-6.module+el8+2760+3d7d61b2 | RHSA-2024:1007 |
| RHEL 8.2 TUS | gimp +3 | 2:2.8.22-16.module+el8.2.0+21331+ebcfa2f2.1 | RHSA-2024:1327 |
| RHEL 8.2 TUS | pygobject2 +3 | 2.28.7-4.module+el8+2760+3d7d61b2 | RHSA-2024:1327 |
| RHEL 8.2 TUS | pygtk2 +3 | 2.24.0-24.module+el8+2760+3d7d61b2 | RHSA-2024:1327 |
| RHEL 8.2 TUS | python2-cairo +2 | 1.16.3-6.module+el8+2760+3d7d61b2 | RHSA-2024:1327 |
| RHEL 8.2 E4S | gimp +3 | 2:2.8.22-16.module+el8.2.0+21331+ebcfa2f2.1 | RHSA-2024:1327 |
| RHEL 8.2 E4S | pygobject2 +3 | 2.28.7-4.module+el8+2760+3d7d61b2 | RHSA-2024:1327 |
| RHEL 8.2 E4S | pygtk2 +3 | 2.24.0-24.module+el8+2760+3d7d61b2 | RHSA-2024:1327 |
| RHEL 8.2 E4S | python2-cairo +2 | 1.16.3-6.module+el8+2760+3d7d61b2 | RHSA-2024:1327 |
| RHEL 8.2 AUS | gimp +3 | 2:2.8.22-16.module+el8.2.0+21331+ebcfa2f2.1 | RHSA-2024:1327 |
| RHEL 8.2 AUS | pygobject2 +3 | 2.28.7-4.module+el8+2760+3d7d61b2 | RHSA-2024:1327 |
| RHEL 8.2 AUS | pygtk2 +3 | 2.24.0-24.module+el8+2760+3d7d61b2 | RHSA-2024:1327 |
| RHEL 8.2 AUS | python2-cairo +2 | 1.16.3-6.module+el8+2760+3d7d61b2 | RHSA-2024:1327 |
| RHEL 7 ELS | gimp +3 | 2:2.8.22-1.el7_9.1 | RHSA-2024:10666 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 9 | gimp +1 | 2:2.99.8-4.el9_3 | ALSA-2025:7417, ALSA-2025:3617, ALSA-2024:0675 |
| AlmaLinux 8 | gimp +3 | 2:2.8.22-25.module_el8.9.0+3725+d1441900 | ALSA-2025:0746, ALSA-2024:0861 |
| AlmaLinux 8 | pygobject2 +3 | 2.28.7-4.module_el8.0.0+6039+48ed2b14 | ALSA-2025:0746, ALSA-2024:0861 |
| AlmaLinux 8 | pygtk2 +3 | 2.24.0-25.module_el8.9.0+3725+d1441900 | ALSA-2025:0746, ALSA-2024:0861 |
| AlmaLinux 8 | python2-cairo +1 | 1.16.3-6.module_el8.0.0+6039+48ed2b14 | ALSA-2025:0746, ALSA-2024:0861 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 9 | gimp | 2:2.99.8-4.el9_3 | RLSA-2025:7417, RLSA-2025:3617, RLSA-2024:0675 |
| Rocky Linux 8 | gimp | 2:2.8.22-25.module+el8.9.0+1723+9bc93544 | RLSA-2025:0746, RLSA-2024:0861 |
| Rocky Linux 8 | pygobject2 | 2.28.7-4.module+el8.9.0+1724+6863d082 | RLSA-2025:0746, RLSA-2024:0861 |
| Rocky Linux 8 | pygtk2 | 2.24.0-25.module+el8.9.0+1723+9bc93544 | RLSA-2025:0746, RLSA-2024:0861 |
| Rocky Linux 8 | python2-pycairo | 1.16.3-6.module+el8.9.0+1724+6863d082 | RLSA-2025:0746, RLSA-2024:0861 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP5 | gimp | 2.10.30-150400.3.11.1 | SUSE-SU-2023:4692-1 |
| SLES 15 SP4 | gimp | 2.10.30-150400.3.11.1 | SUSE-SU-2023:4692-1 |
| SLES 12 SP5 | gimp | 2.8.18-9.27.1 | SUSE-SU-2023:4697-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.5 | gimp | 2.10.30-150400.3.11.1 | SUSE-SU-2023:4692-1 |
| openSUSE Leap 15.4 | gimp | 2.10.30-150400.3.11.1 | SUSE-SU-2023:4692-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | gimp | 2.10.36-r0 | — |
| Alpine v3.23 | gimp | 2.10.36-r0 | — |
| Alpine v3.22 | gimp | 2.10.36-r0 | — |
| Alpine v3.21 | gimp | 2.10.36-r0 | — |
| Alpine v3.20 | gimp | 2.10.36-r0 | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | gimp | 2.10.36-r0 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | gimp +1 | 2:2.99.8-4.el9_3 | ELSA-2025-7417, ELSA-2025-3617, ELSA-2024-0675 |
| Oracle Linux 8 | gimp +3 | 2:2.8.22-25.module+el8.9.0+90151+46a7e4b5 | ELSA-2025-0746, ELSA-2024-0861 |
| Oracle Linux 8 | pygobject2 +3 | 2.28.7-4.module+el8.9.0+90151+46a7e4b5 | ELSA-2025-0746, ELSA-2024-0861 |
| Oracle Linux 8 | pygtk2 +3 | 2.24.0-25.module+el8.9.0+90151+46a7e4b5 | ELSA-2025-0746, ELSA-2024-0861 |
| Oracle Linux 8 | python2-cairo +1 | 1.16.3-6.module+el8.9.0+90151+46a7e4b5 | ELSA-2025-0746, ELSA-2024-0861 |
| Oracle Linux 7 | gimp +3 | 2:2.8.22-1.0.1.el7 | ELSA-2024-10666 |
Advisories 35
- ALSA-2025:7417 Important: gimp security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2025:3617 Important: gimp security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2024:0675 Important: gimp security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2024:0861 Important: gimp:2.8 security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2025:0746 Important: gimp:2.8 security update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2025:7417 Red Hat Security Advisory: gimp security update Red Hat Security Advisories (RHSA) · Aug 7, 2026
- RHSA-2025:3629 Red Hat Security Advisory: gimp security update Red Hat Security Advisories (RHSA) · Aug 7, 2026
- RHSA-2025:3617 Red Hat Security Advisory: gimp security update Red Hat Security Advisories (RHSA) · Aug 7, 2026
- RHSA-2025:0746 Red Hat Security Advisory: gimp:2.8 security update Red Hat Security Advisories (RHSA) · Aug 7, 2026
- RHSA-2024:1327 Red Hat Security Advisory: gimp:2.8 security update Red Hat Security Advisories (RHSA) · Aug 7, 2026
- RHSA-2024:10666 Red Hat Security Advisory: gimp:2.8.22 security update Red Hat Security Advisories (RHSA) · Aug 7, 2026
- RHSA-2024:1007 Red Hat Security Advisory: gimp:2.8 security update Red Hat Security Advisories (RHSA) · Aug 7, 2026
- RHSA-2024:0863 Red Hat Security Advisory: gimp:2.8 security update Red Hat Security Advisories (RHSA) · Aug 7, 2026
- RHSA-2024:0862 Red Hat Security Advisory: gimp:2.8 security update Red Hat Security Advisories (RHSA) · Aug 7, 2026
- RHSA-2024:0861 Red Hat Security Advisory: gimp:2.8 security update Red Hat Security Advisories (RHSA) · Aug 7, 2026
- RHSA-2024:0716 Red Hat Security Advisory: gimp security update Red Hat Security Advisories (RHSA) · Aug 7, 2026
- RHSA-2024:0675 Red Hat Security Advisory: gimp security update Red Hat Security Advisories (RHSA) · Aug 7, 2026
- RHSA-2024:0702 Red Hat Security Advisory: gimp security update Red Hat Security Advisories (RHSA) · Aug 7, 2026
- WID-SEC-2023-2933 GIMP: Mehrere Schwachstellen ermöglichen Codeausführung BSI CERT-Bund (WID) · May 17, 2026
- USN-6521-1 gimp vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- DSA-5564-1 gimp - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-3659-1 gimp - security update Debian Security (DSA / DLA) · Mar 9, 2026
- RLSA-2025:0746 Important: gimp:2.8 security update Rocky Linux Security Advisories · Feb 4, 2026
- SUSE-SU-2023:4697-1 Security update for gimp SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:4692-1 Security update for gimp SUSE / openSUSE Security Updates · Feb 4, 2026
- RLSA-2024:0861 Important: gimp:2.8 security update Rocky Linux Security Advisories · Oct 9, 2025
- RLSA-2024:0675 Important: gimp security update Rocky Linux Security Advisories · Oct 9, 2025
- RLSA-2025:3617 Important: gimp security update Rocky Linux Security Advisories · Oct 7, 2025
- RLSA-2025:7417 Important: gimp security update Rocky Linux Security Advisories · Jul 29, 2025
- ELSA-2025-7417 Important: gimp security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · May 21, 2025
- ELSA-2025-3617 Important: gimp security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Apr 7, 2025
- ELSA-2025-0746 Important: gimp:2.8 security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Jan 28, 2025
- ELSA-2024-10666 Important: gimp:2.8.22 security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Dec 16, 2024
- ELSA-2024-0861 Important: gimp:2.8 security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Feb 21, 2024
- ELSA-2024-0675 Important: gimp security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Feb 7, 2024
References
- ZDI-23-1591
- vendor-provided URL vendor-advisory