Skip to content
OpenAdvisories
High · 7.8 CVE-2026-2050 EUVD-2026-39130GHSA-j4fq-jj5r-8w3h

GIMP HDR File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability

Published Jun 24, 2026 · Updated Sep 9, 2026 · Assigned by zdi

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

VendorProductAffectedFixed
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.

ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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 —
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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 ↗
ReleasePackageFixed inAdvisory
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 ↗
ReleasePackageFixed inAdvisory
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

ReleasePackageFixed inAdvisory
Amazon Linux 2 gegl +1 0.2.0-19.amzn2.1.2 ALAS2-2026-3183

Oracle Linux

ReleasePackageFixed inAdvisory
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

References