CVE-2026-4154
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
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| gimp | gimp | 3.0.8 |
Helpful Resources
Exploitability
| 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.