CVE-2026-2050
Received Received - Intake
Heap-based Buffer Overflow in GIMP via HDR File Parsing

Publication date: 2026-06-24

Last updated on: 2026-06-24

Assigner: Zero Day Initiative

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-24
Last Modified
2026-06-24
Generated
2026-06-25
AI Q&A
2026-06-25
EPSS Evaluated
N/A
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
gnome gimp *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-122 A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability is a heap-based buffer overflow in the parsing of HDR files within GIMP. It occurs because the software does not properly validate the length of user-supplied data before copying it into a heap-based buffer. This flaw allows remote attackers to execute arbitrary code on affected installations of GIMP if a user opens a malicious HDR file or visits a malicious page.

Impact Analysis

The impact of this vulnerability is that an attacker can execute arbitrary code on your system with the privileges of the GIMP process. This can lead to full compromise of the affected system, including unauthorized access, data theft, or further malware installation. Exploitation requires user interaction, such as opening a malicious file or visiting a malicious webpage.

Mitigation Strategies

To mitigate this vulnerability, avoid opening or interacting with untrusted HDR files or visiting untrusted web pages that may contain malicious HDR content.

Ensure that your GIMP installation is updated with the latest security patches once they become available.

Limit user privileges and consider disabling or restricting the use of HDR file parsing in GIMP if possible until a fix is applied.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-2050. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart