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-28232.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| GIMP | GIMP | 3.0.6 | — |
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~RC2-3.1 | — |
| Debian 13 | gimp | 3.0.4-3+deb13u5 | DSA-6115-1 |
| Debian 12 | gimp | 2.10.34-1+deb12u7 | DSA-6115-1 |
| Debian 11 | gimp | 2.10.22-4+deb11u6 | DLA-4483-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | gimp | No fix yet | — |
| Ubuntu 26.04 LTS | gimp | No fix yet | — |
| Ubuntu 25.10 | gimp | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 24.04 LTS | gimp | 2.10.36-3ubuntu0.24.04.1+esm1 | — |
| Ubuntu Pro 22.04 LTS | gimp | 2.10.30-1ubuntu0.1+esm1 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9 | gimp +1 | 2:3.0.4-1.el9_7.3 | RHSA-2026:2707 |
Show 4 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.5 | RHSA-2026:2930 |
| RHEL 9.4 EUS | gimp +1 | 2:2.99.8-4.el9_4.4 | RHSA-2026:2950 |
| RHEL 9.2 E4S | gimp +1 | 2:2.99.8-4.el9_2.4 | RHSA-2026:2953 |
| RHEL 9.0 E4S | gimp +1 | 2:2.99.8-3.el9_0.4 | RHSA-2026:2969 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 9 | gimp +1 | 2:3.0.4-1.el9_7.3 | ALSA-2026:2707 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 9 | gimp | 2:3.0.4-1.el9_7.3 | RLSA-2026:2707 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | gimp | 2.10.30-150400.3.35.1 | SUSE-SU-2026:0083-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | gimp | 3.0.6-4.1 | openSUSE-SU-2026:10018-1 |
| openSUSE Leap 16.0 | gimp | 3.0.8-bp160.1.1 | openSUSE-RU-2026:20168-1 |
| openSUSE Leap 15.6 | gimp | 2.10.30-150400.3.35.1 | SUSE-SU-2026:0083-1 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | gimp +1 | 2:3.0.4-1.el9_7.3 | ELSA-2026-2707 |
Advisories 14
- ALSA-2026:2707 Important: gimp security update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2026:2969 Red Hat Security Advisory: gimp security update Red Hat Security Advisories (RHSA) · Jun 30, 2026
- RHSA-2026:2953 Red Hat Security Advisory: gimp security update Red Hat Security Advisories (RHSA) · Jun 30, 2026
- RHSA-2026:2950 Red Hat Security Advisory: gimp security update Red Hat Security Advisories (RHSA) · Jun 30, 2026
- RHSA-2026:2930 Red Hat Security Advisory: gimp security update Red Hat Security Advisories (RHSA) · Jun 30, 2026
- RHSA-2026:2707 Red Hat Security Advisory: gimp security update Red Hat Security Advisories (RHSA) · Jun 30, 2026
- openSUSE-SU-2026:10018-1 gimp-3.0.6-4.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
- openSUSE-RU-2026:20168-1 Recommended update for gimp SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2026:0083-1 Security update for gimp SUSE / openSUSE Security Updates · Mar 23, 2026
- WID-SEC-2025-2931 GIMP: Schwachstelle ermöglicht Codeausführung BSI CERT-Bund (WID) · Feb 23, 2026
- DLA-4483-1 gimp - security update Debian Security (DSA / DLA) · Feb 18, 2026
- RLSA-2026:2707 Important: gimp security update Rocky Linux Security Advisories · Feb 18, 2026
- ELSA-2026-2707 Important: gimp security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Feb 16, 2026
- DSA-6115-1 gimp - security update Debian Security (DSA / DLA) · Jan 29, 2026
References
- ZDI-25-1196
- vendor-provided URL vendor-advisory