GIMP XPM File Parsing Integer Overflow Remote Code Execution Vulnerability
Published Apr 11, 2026
7.8
HIGHCVSS 3.1
EPSS 0.58%
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
-
- Version 3.0.8StatusaffectedConstraints-
- Version
No data.
Red Hat Enterprise Linux 7 Extended Lifecycle Support
gimp-2:2.8.22-1.el7_9.6
Fixed · RHSA-2026:26168
Red Hat Enterprise Linux 8
gimp:2.8-8100020260512115927.4c9c024f
Fixed · RHSA-2026:17533
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
gimp:2.8-8040020260520140422.70584597
Fixed · RHSA-2026:20552
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On
gimp:2.8-8040020260520140422.70584597
Fixed · RHSA-2026:20552
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
gimp:2.8-8060020260520140100.6af1eaf0
Fixed · RHSA-2026:20553
Red Hat Enterprise Linux 8.6 Telecommunications Update Service
gimp:2.8-8060020260520140100.6af1eaf0
Fixed · RHSA-2026:20553
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
gimp:2.8-8060020260520140100.6af1eaf0
Fixed · RHSA-2026:20553
Red Hat Enterprise Linux 8.8 Telecommunications Update Service
gimp:2.8-8080020260520102644.0621e4ee
Fixed · RHSA-2026:20554
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
gimp:2.8-8080020260520102644.0621e4ee
Fixed · RHSA-2026:20554
Red Hat Enterprise Linux 9
gimp-2:3.0.4-1.el9_7.5
Fixed · RHSA-2026:16484
Red Hat Enterprise Linux 9
gimp-2:3.0.4-4.el9_8.4
Fixed · RHSA-2026:19362
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions
gimp-2:2.99.8-3.el9_0.6
Fixed · RHSA-2026:20691
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions
gimp-2:2.99.8-4.el9_2.6
Fixed · RHSA-2026:25899
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions
gimp-2:2.99.8-4.el9_4.6
Fixed · RHSA-2026:25907
Red Hat Enterprise Linux 9.6 Extended Update Support
gimp-2:2.99.8-4.el9_6.7
Fixed · RHSA-2026:25901
Red Hat Enterprise Linux 6
gimp
Out of support scope
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 Extended Lifecycle Support | gimp-2:2.8.22-1.el7_9.6 | Fixed | RHSA-2026:26168 |
| Red Hat Enterprise Linux 8 | gimp:2.8-8100020260512115927.4c9c024f | Fixed | RHSA-2026:17533 |
| Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | gimp:2.8-8040020260520140422.70584597 | Fixed | RHSA-2026:20552 |
| Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On | gimp:2.8-8040020260520140422.70584597 | Fixed | RHSA-2026:20552 |
| Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | gimp:2.8-8060020260520140100.6af1eaf0 | Fixed | RHSA-2026:20553 |
| Red Hat Enterprise Linux 8.6 Telecommunications Update Service | gimp:2.8-8060020260520140100.6af1eaf0 | Fixed | RHSA-2026:20553 |
| Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions | gimp:2.8-8060020260520140100.6af1eaf0 | Fixed | RHSA-2026:20553 |
| Red Hat Enterprise Linux 8.8 Telecommunications Update Service | gimp:2.8-8080020260520102644.0621e4ee | Fixed | RHSA-2026:20554 |
| Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions | gimp:2.8-8080020260520102644.0621e4ee | Fixed | RHSA-2026:20554 |
| Red Hat Enterprise Linux 9 | gimp-2:3.0.4-1.el9_7.5 | Fixed | RHSA-2026:16484 |
| Red Hat Enterprise Linux 9 | gimp-2:3.0.4-4.el9_8.4 | Fixed | RHSA-2026:19362 |
| Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions | gimp-2:2.99.8-3.el9_0.6 | Fixed | RHSA-2026:20691 |
| Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions | gimp-2:2.99.8-4.el9_2.6 | Fixed | RHSA-2026:25899 |
| Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions | gimp-2:2.99.8-4.el9_4.6 | Fixed | RHSA-2026:25907 |
| Red Hat Enterprise Linux 9.6 Extended Update Support | gimp-2:2.99.8-4.el9_6.7 | Fixed | RHSA-2026:25901 |
| Red Hat Enterprise Linux 6 | gimp | Out of support scope | n/a |
No package ranges for this CVE.
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)
- https://access.redhat.com/errata/RHSA-2026:16484
- https://access.redhat.com/errata/RHSA-2026:17533
- https://access.redhat.com/errata/RHSA-2026:19362
- https://access.redhat.com/errata/RHSA-2026:20552
- https://access.redhat.com/errata/RHSA-2026:20553
- https://access.redhat.com/errata/RHSA-2026:20554
- https://access.redhat.com/errata/RHSA-2026:20691
- https://access.redhat.com/errata/RHSA-2026:25899
- https://access.redhat.com/errata/RHSA-2026:25901
- https://access.redhat.com/errata/RHSA-2026:25907
- https://access.redhat.com/errata/RHSA-2026:26168
- https://access.redhat.com/security/cve/CVE-2026-4154 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2457530 Issue Tracking
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-21638 Advisory
- https://gitlab.gnome.org/GNOME/gimp/-/commit/2e7ed91793792d9e980b2df4c829e9aa60459253 vendor-advisoryPatch
- https://nvd.nist.gov/vuln/detail/CVE-2026-4154
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-4154.json
- https://www.cve.org/CVERecord?id=CVE-2026-4154
- https://www.zerodayinitiative.com/advisories/ZDI-26-221/ x_research-advisoryThird Party Advisory
Change history (0)
No recorded changes yet.