CVE-2026-4152
Fixed in a distro release EPSS <1%CVSS 7.8
GIMP JP2 File Parsing Heap-based Buffer 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 JP2 files. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-28863.
Products: GIMP, Red Hat Enterprise Linux 9, Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions, Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions, Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions, Red Hat Enterprise Linux 9.6 Extended Update Support, Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| AlmaLinux 9 | gimp | 2:3.0.4-1.el9_7.5 |
| AlmaLinux 9 | gimp | 2:3.0.4-4.el9_8.4 |
| AlmaLinux 9 | gimp-libs | 2:3.0.4-1.el9_7.5 |
| AlmaLinux 9 | gimp-libs | 2:3.0.4-4.el9_8.4 |
| Debian 12 | gimp | 2.10.34-1+deb12u10 |
| Debian 13 | gimp | 3.0.4-3+deb13u8 |
| Debian 14 | gimp | 3.2.0-1 |
| Red Hat Enterprise Linux 9 | gimp | 2:3.0.4-1.el9_7.5 |
| Red Hat Enterprise Linux 9 | gimp | 2:3.0.4-4.el9_8.4 |
| Red Hat Enterprise Linux 9 | gimp-debuginfo | 2:3.0.4-1.el9_7.5 |
| Red Hat Enterprise Linux 9 | gimp-debuginfo | 2:3.0.4-4.el9_8.4 |
| Red Hat Enterprise Linux 9 | gimp-debugsource | 2:3.0.4-1.el9_7.5 |
| Red Hat Enterprise Linux 9 | gimp-debugsource | 2:3.0.4-4.el9_8.4 |
| Red Hat Enterprise Linux 9 | gimp-devel-tools-debuginfo | 2:3.0.4-1.el9_7.5 |
| Red Hat Enterprise Linux 9 | gimp-devel-tools-debuginfo | 2:3.0.4-4.el9_8.4 |
| Red Hat Enterprise Linux 9 | gimp-libs | 2:3.0.4-1.el9_7.5 |
| Red Hat Enterprise Linux 9 | gimp-libs | 2:3.0.4-4.el9_8.4 |
| Red Hat Enterprise Linux 9 | gimp-libs-debuginfo | 2:3.0.4-1.el9_7.5 |
| Red Hat Enterprise Linux 9 | gimp-libs-debuginfo | 2:3.0.4-4.el9_8.4 |
| Red Hat rhel e4s 9.0 | gimp | 2:2.99.8-3.el9_0.6 |
| Red Hat rhel e4s 9.0 | gimp-debuginfo | 2:2.99.8-3.el9_0.6 |
| Red Hat rhel e4s 9.0 | gimp-debugsource | 2:2.99.8-3.el9_0.6 |
| Red Hat rhel e4s 9.0 | gimp-devel-tools-debuginfo | 2:2.99.8-3.el9_0.6 |
| Red Hat rhel e4s 9.0 | gimp-libs | 2:2.99.8-3.el9_0.6 |
| Red Hat rhel e4s 9.0 | gimp-libs-debuginfo | 2:2.99.8-3.el9_0.6 |
| Red Hat rhel e4s 9.2 | gimp | 2:2.99.8-4.el9_2.6 |
| Red Hat rhel e4s 9.2 | gimp-debuginfo | 2:2.99.8-4.el9_2.6 |
| Red Hat rhel e4s 9.2 | gimp-debugsource | 2:2.99.8-4.el9_2.6 |
| Red Hat rhel e4s 9.2 | gimp-devel-tools-debuginfo | 2:2.99.8-4.el9_2.6 |
| Red Hat rhel e4s 9.2 | gimp-libs | 2:2.99.8-4.el9_2.6 |
| Red Hat rhel e4s 9.2 | gimp-libs-debuginfo | 2:2.99.8-4.el9_2.6 |
| Red Hat rhel e4s 9.4 | gimp | 2:2.99.8-4.el9_4.6 |
| Red Hat rhel e4s 9.4 | gimp-debuginfo | 2:2.99.8-4.el9_4.6 |
| Red Hat rhel e4s 9.4 | gimp-debugsource | 2:2.99.8-4.el9_4.6 |
| Red Hat rhel e4s 9.4 | gimp-devel-tools-debuginfo | 2:2.99.8-4.el9_4.6 |
| Red Hat rhel e4s 9.4 | gimp-libs | 2:2.99.8-4.el9_4.6 |
| Red Hat rhel e4s 9.4 | gimp-libs-debuginfo | 2:2.99.8-4.el9_4.6 |
| Red Hat rhel eus 9.6 | gimp | 2:2.99.8-4.el9_6.7 |
| Red Hat rhel eus 9.6 | gimp-debuginfo | 2:2.99.8-4.el9_6.7 |
| Red Hat rhel eus 9.6 | gimp-debugsource | 2:2.99.8-4.el9_6.7 |
| Red Hat rhel eus 9.6 | gimp-devel-tools-debuginfo | 2:2.99.8-4.el9_6.7 |
| Red Hat rhel eus 9.6 | gimp-libs | 2:2.99.8-4.el9_6.7 |
| Red Hat rhel eus 9.6 | gimp-libs-debuginfo | 2:2.99.8-4.el9_6.7 |
| Rocky Linux 9 | gimp | 2:3.0.4-1.el9_7.5 |
| Ubuntu 25.10 | gimp | no fix |
| Ubuntu Pro 16.04 LTS | gimp | no fix |
| Ubuntu Pro 18.04 LTS | gimp | no fix |
| Ubuntu Pro 20.04 LTS | gimp | no fix |
| Ubuntu Pro 22.04 LTS | gimp | no fix |
| Ubuntu Pro 24.04 LTS | gimp | no fix |