Description
GIMP XWD File Parsing Integer 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 XWD files. The issue results from the lack of proper validation of user-supplied data, which can result in an integer overflow before allocating a buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-25082.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| GIMP | GIMP | 2.10.38 | — |
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.0.4-3 | — |
| Debian 13 | gimp | 3.0.4-3 | — |
| Debian 12 | gimp | 2.10.34-1+deb12u4 | DSA-6043-1 |
| Debian 11 | gimp | 2.10.22-4+deb11u3 | DLA-4342-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 24.04 LTS | gimp | 2.10.36-3ubuntu0.24.04.1+esm2 | — |
| Ubuntu Pro 22.04 LTS | gimp | 2.10.30-1ubuntu0.1+esm2 | — |
| Ubuntu Pro 20.04 LTS | gimp | 2.10.18-1ubuntu0.1+esm2 | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | gimp | 2.10.30-150400.3.26.1 | SUSE-SU-2025:03075-1 |
| SLES 15 SP6 | gimp | 2.10.30-150400.3.26.1 | SUSE-SU-2025:03075-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | gimp | 3.0.4-2.1 | openSUSE-SU-2025:15476-1 |
| openSUSE Leap 16.0 | gimp | 3.0.6-bp160.1.1 | openSUSE-SU-2026:20055-1 |
| openSUSE Leap 15.6 | gimp | 2.10.30-150400.3.26.1 | SUSE-SU-2025:03075-1 |
Advisories 6
- openSUSE-SU-2026:20055-1 Security update for gimp SUSE / openSUSE Security Updates · Mar 23, 2026
- openSUSE-SU-2025:15476-1 gimp-3.0.4-2.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:03075-1 Security update for gimp SUSE / openSUSE Security Updates · Mar 23, 2026
- WID-SEC-2025-0734 GIMP: Mehrere Schwachstellen ermöglichen Codeausführung BSI CERT-Bund (WID) · Mar 4, 2026
- DSA-6043-1 gimp - security update Debian Security (DSA / DLA) · Oct 28, 2025
- DLA-4342-1 gimp - security update Debian Security (DSA / DLA) · Oct 22, 2025