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-28266.
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 | 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 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9 | gegl04 +3 | 0.4.62-1.el9_8.1 | RHSA-2026:38497 |
| RHEL 8 | gegl | 0.2.0-40.el8_10 | RHSA-2026:38485 |
Show 9 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9.6 EUS | gegl04 +3 | 0.4.34-3.el9_6.1 | RHSA-2026:56963 |
| RHEL 9.4 E4S | gegl04 +2 | 0.4.34-3.el9_4.1 | RHSA-2026:56964 |
| RHEL 9.2 E4S | gegl04 +2 | 0.4.34-2.el9_2.1 | RHSA-2026:56982 |
| RHEL 8.8 TUS | gegl | 0.2.0-39.el8_8.1 | RHSA-2026:64802 |
| RHEL 8.8 E4S | gegl | 0.2.0-39.el8_8.1 | RHSA-2026:64802 |
| RHEL 8.6 EUS Long Life | gegl | 0.2.0-39.el8_6.1 | RHSA-2026:64803 |
| RHEL 8.6 AUS | gegl | 0.2.0-39.el8_6.1 | RHSA-2026:64803 |
| RHEL 8.4 EUS Long Life | gegl | 0.2.0-39.el8_4.1 | RHSA-2026:64801 |
| RHEL 8.4 AUS | gegl | 0.2.0-39.el8_4.1 | RHSA-2026:64801 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 9 | gegl04 +3 | 0.4.62-1.el9_8.1 | ALSA-2026:38497 |
| AlmaLinux 8 | gegl | 0.2.0-40.el8_10 | ALSA-2026:38485 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 9 | gegl04 | 0.4.62-1.el9_8.1 | RLSA-2026:38497 |
| Rocky Linux 8 | gegl | 0.2.0-40.el8_10 | RLSA-2026:38485 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | gegl +1 | 0.2.0-19.amzn2.1.2 | ALAS2-2026-3183 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | gegl04 +3 | 0.4.62-1.el9_8.1 | ELSA-2026-38497 |
| Oracle Linux 8 | gegl | 0.2.0-40.el8_10 | ELSA-2026-38485 |
Advisories 18
- ALSA-2026:38497 Important: gegl04 security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2026:38485 Important: gegl security update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2026:64802 Red Hat Security Advisory: gegl security update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- RHSA-2026:64803 Red Hat Security Advisory: gegl security update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- RHSA-2026:64801 Red Hat Security Advisory: gegl security update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- RHSA-2026:56982 Red Hat Security Advisory: gegl04 security update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- RHSA-2026:56963 Red Hat Security Advisory: gegl04 security update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- RHSA-2026:56964 Red Hat Security Advisory: gegl04 security update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- RHSA-2026:38497 Red Hat Security Advisory: gegl04 security update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- RHSA-2026:38485 Red Hat Security Advisory: gegl security update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- WID-SEC-2026-2064 GIMP: Schwachstelle ermöglicht Codeausführung BSI CERT-Bund (WID) · Sep 7, 2026
- RLSA-2026:38497 Important: gegl04 security update Rocky Linux Security Advisories · Jul 14, 2026
- RLSA-2026:38485 Important: gegl security update Rocky Linux Security Advisories · Jul 14, 2026
- ELSA-2026-38497 Important: gegl04 security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Jul 14, 2026
- ELSA-2026-38485 Important: gegl security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Jul 13, 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-282
- vendor-provided URL vendor-advisory