Description
GIMP JP2 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 JP2 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-28863.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| GIMP | GIMP | 3.0.8 | — |
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-1 | — |
| Debian 13 | gimp | 3.0.4-3+deb13u8 | — |
| Debian 12 | gimp | 2.10.34-1+deb12u10 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 25.10 | gimp | No fix yet | — |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 24.04 LTS | gimp | No fix yet | — |
| Ubuntu Pro 22.04 LTS | gimp | No fix yet | — |
| Ubuntu Pro 20.04 LTS | gimp | No fix yet | — |
| 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:3.0.4-1.el9_7.5 | RHSA-2026:19362, RHSA-2026:16484 |
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.7 | RHSA-2026:25901 |
| RHEL 9.4 E4S | gimp +1 | 2:2.99.8-4.el9_4.6 | RHSA-2026:25907 |
| RHEL 9.2 E4S | gimp +1 | 2:2.99.8-4.el9_2.6 | RHSA-2026:25899 |
| RHEL 9.0 E4S | gimp +1 | 2:2.99.8-3.el9_0.6 | RHSA-2026:20691 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 9 | gimp +1 | 2:3.0.4-1.el9_7.5 | ALSA-2026:19362, ALSA-2026:16484 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 9 | gimp | 2:3.0.4-1.el9_7.5 | RLSA-2026:16484 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | gimp +1 | 2:3.0.4-1.el9_7.5 | ELSA-2026-19362, ELSA-2026-16484 |
Advisories 12
- WID-SEC-2026-0802 GIMP: Mehrere Schwachstellen ermöglichen Codeausführung BSI CERT-Bund (WID) · Nov 5, 2026
- ALSA-2026:19362 Important: gimp security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2026:16484 Important: gimp security update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2026:25907 Red Hat Security Advisory: gimp security update Red Hat Security Advisories (RHSA) · Oct 3, 2026
- RHSA-2026:25899 Red Hat Security Advisory: gimp security update Red Hat Security Advisories (RHSA) · Oct 3, 2026
- RHSA-2026:25901 Red Hat Security Advisory: gimp security update Red Hat Security Advisories (RHSA) · Oct 3, 2026
- RHSA-2026:20691 Red Hat Security Advisory: gimp security update Red Hat Security Advisories (RHSA) · Oct 3, 2026
- RHSA-2026:19362 Red Hat Security Advisory: gimp security update Red Hat Security Advisories (RHSA) · Oct 3, 2026
- RHSA-2026:16484 Red Hat Security Advisory: gimp security update Red Hat Security Advisories (RHSA) · Oct 3, 2026
- ELSA-2026-19362 Important: gimp security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Jun 23, 2026
- RLSA-2026:16484 Important: gimp security update Rocky Linux Security Advisories · May 14, 2026
- ELSA-2026-16484 Important: gimp security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · May 13, 2026
References
- ZDI-26-219
- vendor-provided URL vendor-advisory