Description
Integer overflow in the seek_to_and_unpack_pixeldata function in the psd.c plugin in Gimp 2.2.15 allows remote attackers to execute arbitrary code via a crafted PSD file that contains a large (1) width or (2) height value.
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.2.16-1 | — |
| Debian 13 | gimp | 2.2.16-1 | — |
| Debian 12 | gimp | 2.2.16-1 | — |
| Debian 4.0 | gimp | 2.2.13-1etch4 | DSA-1335-1 |
| Debian 3.1 | gimp | 2.2.6-1sarge4 | DSA-1335-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 5 | gimp +2 | 2:2.2.13-2.0.7.el5 | RHSA-2007:0513 |
| RHEL 4 | gimp +1 | 1:2.0.5-7.0.7.el4 | RHSA-2007:0513 |
| RHEL 3 | gimp +2 | 1:1.2.3-20.9.el3 | RHSA-2007:0513 |
| RHEL 2 | gimp +2 | 1:1.2.1-7.8.el2_1 | RHSA-2007:0513 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | gimp | 2.10.24-3.1 | openSUSE-SU-2024:10785-1 |
Advisories 3
- RHSA-2007:0513 Red Hat Security Advisory: gimp security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-1335-1 gimp Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:10785-1 gimp-2.10.24-3.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- http://secunia.com/secunia_research/2007-63/advisory/
- 25949 third-party-advisory
- 26044 third-party-advisory
- 26132 third-party-advisory
- gimp-unpackpixeldata-code-execution(35246) vdb-entry
- https://issues.rpath.com/browse/RPL-1487
- GLSA-200707-09 vendor-advisory
- SSA:2007-222-01 vendor-advisory
- 26575 third-party-advisory
- 37804 vdb-entry
- oval:org.mitre.oval:def:5772 vdb-entry signature
- 26384 third-party-advisory
- 201320 vendor-advisory
- RHSA-2007:0513 vendor-advisory
- 25677 third-party-advisory
- oval:org.mitre.oval:def:11276 vdb-entry signature
- 28114 third-party-advisory
- ADV-2007-2421 vdb-entry
- 26215 third-party-advisory
- 24745 vdb-entry
- USN-480-1 vendor-advisory
- 103170 vendor-advisory
- http://svn.gnome.org/viewcvs/gimp?view=revision&revision=22798
- MDKSA-2007:170 vendor-advisory
- DSA-1335 vendor-advisory
- 26939 third-party-advisory
- VU#399896 third-party-advisory
- SUSE-SR:2007:015 vendor-advisory
- ADV-2007-4241 vdb-entry
- http://issues.foresightlinux.org/browse/FL-457