CVE-2026-4154
Modified Modified - Updated After Analysis

Integer Overflow in GIMP XPM Parsing Enables Remote Code Execution

Vulnerability report for CVE-2026-4154, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-04-11

Last updated on: 2026-06-30

Assigner: Zero Day Initiative

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-04-11
Last Modified
2026-06-30
Generated
2026-07-06
AI Q&A
2026-04-11
EPSS Evaluated
2026-07-05
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
gimp gimp 3.0.8

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-190 The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Impact Analysis

This vulnerability can allow a remote attacker to execute arbitrary code on your system with the privileges of the user running GIMP. This could lead to unauthorized actions such as installing malware, stealing data, or taking control of the affected system.

Mitigation Strategies

To mitigate this vulnerability, you should update GIMP to the latest version where the issue has been fixed.

Avoid opening untrusted or suspicious XPM files or visiting untrusted web pages that might trigger the vulnerability.

Executive Summary

CVE-2026-4154 is a remote code execution vulnerability in GIMP that occurs due to improper validation of user-supplied data when parsing XPM files. This flaw leads to an integer overflow during buffer allocation, which can be exploited by an attacker.

Exploitation requires user interaction, such as opening a malicious XPM file or visiting a malicious webpage. If successfully exploited, the attacker can execute arbitrary code within the context of the current process running GIMP.

Chat Assistant

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

EPSS Chart