High severity · published Jun 10, 2026
CVE-2026-2049
GIMP HDR File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability
7.8
CVSS
0.6%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.6% · higher than 49% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
GI
GIMP · GIMP
3.2.0-RC1 · source: vendor
RH
Red Hat Enterprise Linux 6 · Red Hat
All versions, or not specified · source: CISA
RH
Red Hat Enterprise Linux 7 · Red Hat
All versions, or not specified · source: CISA
RH
Red Hat Enterprise Linux 8 · Red Hat
All versions, or not specified · source: CISA
RH
Red Hat Enterprise Linux 9 · Red Hat
All versions, or not specified · source: CISA
In the news
VulnerabilityHigh
ZDI-26-214: 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 ZDI has assigned a CVSS rating of 7.8. The following CVEs are assigned: CVE-2026-2049.
Mar 16, 2026·Zero Day Initiative
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-2049
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-2049
gitlab.gnome.org
https://gitlab.gnome.org/GNOME/gegl/-/issues/450
www.zerodayinitiative.com
https://www.zerodayinitiative.com/advisories/ZDI-26-214/
access.redhat.com
https://access.redhat.com/security/cve/CVE-2026-2049
bugzilla.redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=2487738
security.access.redhat.com
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-2049.json
More from GIMP
9.9
CVE-2026-59090
Gimp: gimp: arbitrary code execution in psd plugin due to unsigned underflow
9.1
CVE-2018-12713
GIMP through 2.10.2 makes g_get_tmp_dir calls to establish temporary filenames, which may result in a filename that already exists, as demonstrated by the gimp_write_and_read_file…
8.8
CVE-2026-2044
GIMP PGM File Parsing Uninitialized Memory Remote Code Execution Vulnerability
8.8
CVE-2026-0797
GIMP ICO File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability
8.8
CVE-2025-5473
GIMP ICO File Parsing Integer Overflow Remote Code Execution Vulnerability
