CVE-2026-4152 GIMP JP2 File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- UbuntuDebianRed Hat
Description
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.
Upgrade path
14 packages: 10 fixed, 1 partially fixed, 2 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/gimp(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/gimp(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| redhat enterprise linux | < 2:3.0.4-1.el9_7.5; < 2:3.0.4-4.el9_8.4; = 6; = 7 +1 more | 2:3.0.4-1.el9_7.5, 2:3.0.4-4.el9_8.4 | Partially fixed |
| debian/gimp(Debian 12) | < 2.10.34-1+deb12u10; = 2.10.34-1; = 2.10.34-1+deb12u1; = 2.10.34-1+deb12u2 +7 more | 2.10.34-1+deb12u10 | Fixed |
| debian/gimp(Debian 13) | < 3.0.4-3+deb13u8; = 3.0.4-3; = 3.0.4-3+deb13u1; = 3.0.4-3+deb13u2 +5 more | 3.0.4-3+deb13u8 | Fixed |
| debian/gimp(Debian 14) | < 3.2.0-1; = 3.0.4-3; = 3.0.4-4; = 3.0.4-5 +11 more | 3.2.0-1 | Fixed |
| redhat rhel e4s | < 2:2.99.8-3.el9_0.6; < 2:2.99.8-4.el9_2.6; < 2:2.99.8-4.el9_4.6 | 2:2.99.8-3.el9_0.6, 2:2.99.8-4.el9_2.6, 2:2.99.8-4.el9_4.6 | Fixed |
| redhat rhel eus | < 2:2.99.8-4.el9_6.7 | 2:2.99.8-4.el9_6.7 | Fixed |
| redhat/gimp(Red Hat enterprise_linux 9) | < 2:3.0.4-1.el9_7.5; < 2:3.0.4-4.el9_8.4 | 2:3.0.4-1.el9_7.5, 2:3.0.4-4.el9_8.4 | Fixed |
| redhat/gimp(Red Hat rhel_e4s 9.0) | < 2:2.99.8-3.el9_0.6 | 2:2.99.8-3.el9_0.6 | Fixed |
| redhat/gimp(Red Hat rhel_e4s 9.2) | < 2:2.99.8-4.el9_2.6 | 2:2.99.8-4.el9_2.6 | Fixed |
| redhat/gimp(Red Hat rhel_e4s 9.4) | < 2:2.99.8-4.el9_4.6 | 2:2.99.8-4.el9_4.6 | Fixed |
| redhat/gimp(Red Hat rhel_eus 9.6) | < 2:2.99.8-4.el9_6.7 | 2:2.99.8-4.el9_6.7 | Fixed |
| gimp | = 3.0.8 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| gimp | = 3.0.8 | No fix listed |
| redhat enterprise linux | < 2:3.0.4-1.el9_7.5 | 2:3.0.4-1.el9_7.5 |
| redhat enterprise linux | < 2:3.0.4-4.el9_8.4 | 2:3.0.4-4.el9_8.4 |
| redhat rhel e4s | < 2:2.99.8-3.el9_0.6 | 2:2.99.8-3.el9_0.6 |
| redhat rhel e4s | < 2:2.99.8-4.el9_2.6 | 2:2.99.8-4.el9_2.6 |
| redhat rhel e4s | < 2:2.99.8-4.el9_4.6 | 2:2.99.8-4.el9_4.6 |
| redhat rhel eus | < 2:2.99.8-4.el9_6.7 | 2:2.99.8-4.el9_6.7 |
| redhat enterprise linux | = 6 | No fix listed |
| redhat enterprise linux | = 7 | No fix listed |
| redhat enterprise linux | All versions | No fix listed |
| debian/gimp(Debian:12) | < 2.10.34-1+deb12u10 | 2.10.34-1+deb12u10 |
| debian/gimp(Debian:12) | = 2.10.34-1 | No fix listed |
| debian/gimp(Debian:12) | = 2.10.34-1+deb12u1 | No fix listed |
| debian/gimp(Debian:12) | = 2.10.34-1+deb12u2 | No fix listed |
| debian/gimp(Debian:12) | = 2.10.34-1+deb12u3 | No fix listed |
| debian/gimp(Debian:12) | = 2.10.34-1+deb12u4 | No fix listed |
| debian/gimp(Debian:12) | = 2.10.34-1+deb12u5 | No fix listed |
| debian/gimp(Debian:12) | = 2.10.34-1+deb12u6 | No fix listed |
| debian/gimp(Debian:12) | = 2.10.34-1+deb12u7 | No fix listed |
| debian/gimp(Debian:12) | = 2.10.34-1+deb12u8 | No fix listed |
| debian/gimp(Debian:12) | = 2.10.34-1+deb12u9 | No fix listed |
| debian/gimp(Debian:13) | < 3.0.4-3+deb13u8 | 3.0.4-3+deb13u8 |
| debian/gimp(Debian:13) | = 3.0.4-3 | No fix listed |
| debian/gimp(Debian:13) | = 3.0.4-3+deb13u1 | No fix listed |
| debian/gimp(Debian:13) | = 3.0.4-3+deb13u2 | No fix listed |
Show 29 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/gimp(Debian:13) | = 3.0.4-3+deb13u3 | No fix listed |
| debian/gimp(Debian:13) | = 3.0.4-3+deb13u4 | No fix listed |
| debian/gimp(Debian:13) | = 3.0.4-3+deb13u5 | No fix listed |
| debian/gimp(Debian:13) | = 3.0.4-3+deb13u6 | No fix listed |
| debian/gimp(Debian:13) | = 3.0.4-3+deb13u7 | No fix listed |
| debian/gimp(Debian:14) | < 3.2.0-1 | 3.2.0-1 |
| debian/gimp(Debian:14) | = 3.0.4-3 | No fix listed |
| debian/gimp(Debian:14) | = 3.0.4-4 | No fix listed |
| debian/gimp(Debian:14) | = 3.0.4-5 | No fix listed |
| debian/gimp(Debian:14) | = 3.0.4-6 | No fix listed |
| debian/gimp(Debian:14) | = 3.0.4-6.1 | No fix listed |
| debian/gimp(Debian:14) | = 3.0.4-6.2 | No fix listed |
| debian/gimp(Debian:14) | = 3.0.6-1 | No fix listed |
| debian/gimp(Debian:14) | = 3.2.0~RC2-1 | No fix listed |
| debian/gimp(Debian:14) | = 3.2.0~RC2-2 | No fix listed |
| debian/gimp(Debian:14) | = 3.2.0~RC2-3 | No fix listed |
| debian/gimp(Debian:14) | = 3.2.0~RC2-3.1 | No fix listed |
| debian/gimp(Debian:14) | = 3.2.0~RC2-3.2 | No fix listed |
| debian/gimp(Debian:14) | = 3.2.0~RC2-3.3 | No fix listed |
| debian/gimp(Debian:14) | = 3.2.0~RC3-1 | No fix listed |
| redhat/gimp(Red Hat:enterprise_linux:9) | < 2:3.0.4-1.el9_7.5 | 2:3.0.4-1.el9_7.5 |
| redhat/gimp(Red Hat:enterprise_linux:9) | < 2:3.0.4-4.el9_8.4 | 2:3.0.4-4.el9_8.4 |
| redhat/gimp(Red Hat:rhel_e4s:9.0) | < 2:2.99.8-3.el9_0.6 | 2:2.99.8-3.el9_0.6 |
| redhat/gimp(Red Hat:rhel_e4s:9.2) | < 2:2.99.8-4.el9_2.6 | 2:2.99.8-4.el9_2.6 |
| redhat/gimp(Red Hat:rhel_e4s:9.4) | < 2:2.99.8-4.el9_4.6 | 2:2.99.8-4.el9_4.6 |
| redhat/gimp(Red Hat:rhel_eus:9.6) | < 2:2.99.8-4.el9_6.7 | 2:2.99.8-4.el9_6.7 |
| redhat/gimp(Red Hat:rhel_els:6) | All versions | No fix listed |
| ubuntu/gimp(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/gimp(Ubuntu:24.04) | All versions | No fix listed |
References
- ZDI-26-219 third-party-advisory
- vendor-provided URL patch vendor-advisory
- Red Hat CVE page mitigation vdb-entry vendor-advisory
- RHBZ#2457533 issue-tracking
- security.access.redhat.com
- RHSA-2026:20691 patch vendor-advisory
- RHSA-2026:25899 patch vendor-advisory
- RHSA-2026:25907 patch vendor-advisory
- RHSA-2026:25901 patch vendor-advisory
- RHSA-2026:16484 patch vendor-advisory
- RHSA-2026:19362 patch vendor-advisory
- Debian Security Tracker CVE-2026-4152 vendor-advisory
- www.cve.org
- nvd.nist.gov
- Ubuntu CVE tracker vendor-advisory