Skip to content
OpenAdvisories
High · 7.8 CVE-2026-2049 EUVD-2026-36156GHSA-m2vh-q87q-6r5q

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

Published Jun 10, 2026 · Updated Jul 15, 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-28618.

Affected products

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

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

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

Advisories 7

References