CVE-2026-4154
Received Received - Intake
Integer Overflow in GIMP XPM Parsing Enables Remote Code Execution

Publication date: 2026-04-11

Last updated on: 2026-04-14

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-04-14
Generated
2026-05-06
AI Q&A
2026-04-11
EPSS Evaluated
2026-05-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 Powered Q&A
How can this vulnerability impact me? :

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.


Can you explain this vulnerability to me?

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.


What immediate steps should I take to mitigate this vulnerability?

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.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart