Description
GIMP XCF File Parsing Use-After-Free 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 XCF files. The issue results from the lack of validating the existence of an object prior to performing operations on the object. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-28376.
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-1 | — |
| Debian 13 | gimp | 3.0.4-3+deb13u4 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 25.10 | gimp | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9 | gimp +1 | 2:3.0.4-1.el9_7.2 | RHSA-2026:0914 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 9 | gimp +1 | 2:3.0.4-1.el9_7.2 | ALSA-2026:0914 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 9 | gimp | 2:3.0.4-1.el9_7.2 | RLSA-2026:0914 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | gimp | 3.0.6-5.1 | openSUSE-SU-2026:10066-1 |
| openSUSE Leap 16.0 | gimp | 3.0.6-bp160.2.1 | openSUSE-SU-2026:20100-1, openSUSE-RU-2026:20168-1 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | gimp +1 | 2:3.0.4-1.el9_7.2 | ELSA-2026-0914 |
Advisories 8
- WID-SEC-2025-2871 GIMP: Mehrere Schwachstellen ermöglichen Codeausführung BSI CERT-Bund (WID) · Nov 5, 2026
- ALSA-2026:0914 Important: gimp security update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2026:0914 Red Hat Security Advisory: gimp security update Red Hat Security Advisories (RHSA) · Jul 12, 2026
- openSUSE-SU-2026:20100-1 Security update for gimp SUSE / openSUSE Security Updates · Mar 23, 2026
- openSUSE-SU-2026:10066-1 gimp-3.0.6-5.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
- RLSA-2026:0914 Important: gimp security update Rocky Linux Security Advisories · Jan 22, 2026
- ELSA-2026-0914 Important: gimp security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Jan 21, 2026
References
- ZDI-25-1138
- vendor-provided URL vendor-advisory