CVE-2026-4154
gimp: GIMP: Remote Code Execution via XPM File Parsing Integer Overflow
Severity
ImportantRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · April 11, 2026
Updated · June 30, 2026
Description
A flaw was found in GIMP. Remote attackers can exploit this vulnerability by tricking a user into opening a malicious XPM (X PixMap) image file. This can lead to an an integer overflow during file processing, allowing the attacker to execute arbitrary code on the affected system.
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.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
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.
CVSS / CWE
CVSS 3.1 · 7.8CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CWE-190 · Integer Overflow or Wraparound