Vulnerability · Published Jun 10, 2026 · Assigned by zdi

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

High 7.8

In plain English

A high-severity heap buffer overflow in GIMP from GIMP. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 50% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.8High
Exploit odds (30 days)0.6%top 50.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12gegl1:0.4.42-2+deb12u2DEBIAN-CVE-2026-2049
Debian:12gegl1:0.4.42-2+deb12u2DSA-6142-1
Debian:13gegl1:0.4.62-2+deb13u2DSA-6142-1
Debian:13gegl1:0.4.62-2+deb13u2DEBIAN-CVE-2026-2049
Debian:14gegl1:0.4.66-1DEBIAN-CVE-2026-2049
Ubuntu:22.04:LTSgeglno fix listedUBUNTU-CVE-2026-2049
Ubuntu:24.04:LTSgeglno fix listedUBUNTU-CVE-2026-2049
Ubuntu:25.10geglno fix listedUBUNTU-CVE-2026-2049

Affected products (as reported)

VendorProductVersions
GIMP GIMP 3.2.0-RC1

Weakness: CWE-122, CWE-131 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

References