Description
GIMP HDR 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 HDR 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-28618.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| GIMP | GIMP | 3.2.0-RC1 | — |
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 | gegl | 1:0.4.66-1 | — |
| Debian 13 | gegl | 1:0.4.62-2+deb13u2 | DSA-6142-1 |
| Debian 12 | gegl | 1:0.4.42-2+deb12u2 | DSA-6142-1 |
| Debian 11 | gegl | 1:0.4.26-2+deb11u2 | DLA-4487-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 25.10 | gegl | No fix yet | — |
| Ubuntu 24.04 LTS | gegl | No fix yet | — |
| Ubuntu 22.04 LTS | gegl | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | gegl | No fix yet | — |
| Ubuntu Pro 18.04 LTS | gegl | No fix yet | — |
| Ubuntu Pro 16.04 LTS | gegl | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | gegl | 0.3.34-150000.3.9.1 | SUSE-SU-2026:1496-1, SUSE-SU-2026:1481-1 |
| SLES 12 SP5 | gegl | 0.2.0-15.14.2 | SUSE-SU-2026:1479-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | gegl +1 | 0.2.0-19.amzn2.1.2 | ALAS2-2026-3183 |
Advisories 7
- WID-SEC-2026-0750 GIMP: Mehrere Schwachstellen ermöglichen Codeausführung BSI CERT-Bund (WID) · Jun 10, 2026
- SUSE-SU-2026:1496-1 Security update for gegl SUSE / openSUSE Security Updates · Apr 22, 2026
- SUSE-SU-2026:1481-1 Security update for gegl SUSE / openSUSE Security Updates · Apr 21, 2026
- SUSE-SU-2026:1479-1 Security update for gegl SUSE / openSUSE Security Updates · Apr 21, 2026
- ALAS2-2026-3183 Important: gegl security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Mar 5, 2026
- DLA-4487-1 gegl - security update Debian Security (DSA / DLA) · Feb 21, 2026
- DSA-6142-1 gegl - security update Debian Security (DSA / DLA) · Feb 19, 2026
References
- ZDI-26-214
- vendor-provided URL vendor-advisory