Back

HIGH

GIMP XPM File Parsing Integer Overflow Remote Code Execution Vulnerability

Published Apr 11, 2026

Description

GIMP XPM File Parsing Integer 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 XPM files. The issue results from the lack of proper validation of user-supplied data, which can result in an integer overflow before allocating a buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-28901.

Affected products

Remediation

Red Hat statement

This is an Important vulnerability in GIMP that could lead to arbitrary code execution. Exploitation requires a user to open a specially crafted XPM image file. Red Hat Enterprise Linux systems with GIMP installed are affected if users process untrusted XPM files.

Red Hat mitigation

To mitigate this issue, users should avoid opening XPM image files from untrusted sources. On systems where GIMP is not required, the `gimp` package can be removed. Removing desktop-related packages may impact graphical environment functionality.

References (19)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner zdi
Published Apr 11, 2026
Updated Jul 15, 2026
Reserved Mar 13, 2026
CISA Vulnrichment
Updated Apr 13, 2026
NVD
Status Modified
Modified Jul 15, 2026
Red Hat
Severity Important
Public date Apr 11, 2026
ENISA EUVD
Assigner zdi
Published Apr 11, 2026
Updated Jul 15, 2026
Exploited since n/a
EUVD-2026-21638