CVE-2026-4152 json
GIMP JP2 File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability
published 2026-04-11 6 mo ago modified 2026-07-15 3 mo ago also EUVD-2026-21633
- cvss
- 7.8
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 55%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Red Hat Red Hat Enterprise Linux 9 2:3.0.4-1.el9_7.5, 2:3.0.4-4.el9_8.4
- Red Hat Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions 2:2.99.8-3.el9_0.6
- Red Hat Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions 2:2.99.8-4.el9_2.6
- Red Hat Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions 2:2.99.8-4.el9_4.6
- Red Hat Red Hat Enterprise Linux 9.6 Extended Update Support 2:2.99.8-4.el9_6.7
- gimp Debian 12 2.10.34-1+deb12u10
- gimp Debian 13 3.0.4-3+deb13u8
- gimp Debian 14 3.2.0-1
debian advisories DEBIAN-CVE-2026-4152
- gimp RHEL 9 2:3.0.4-4.el9_8.4
- gimp-libs RHEL 9 2:3.0.4-4.el9_8.4
- gimp RHEL 9 2:3.0.4-1.el9_7.5
- gimp-libs RHEL 9 2:3.0.4-1.el9_7.5
- gimp RHEL 9.4 E4S 2:2.99.8-4.el9_4.6
- gimp-libs RHEL 9.4 E4S 2:2.99.8-4.el9_4.6
- gimp RHEL 9.6 EUS 2:2.99.8-4.el9_6.7
- gimp-libs RHEL 9.6 EUS 2:2.99.8-4.el9_6.7
red hat advisories RHSA-2026:25907RHSA-2026:25901RHSA-2026:25899RHSA-2026:20691RHSA-2026:19362RHSA-2026:16484
- gimp AlmaLinux 9 2:3.0.4-4.el9_8.4
- gimp-libs AlmaLinux 9 2:3.0.4-4.el9_8.4
- gimp AlmaLinux 9 2:3.0.4-1.el9_7.5
- gimp-libs AlmaLinux 9 2:3.0.4-1.el9_7.5
almalinux advisories ALSA-2026:19362ALSA-2026:16484
- gimp Rocky Linux 9 2:3.0.4-1.el9_7.5
rocky linux advisories RLSA-2026:16484
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-4152 updated cvss 7.8
gimp: GIMP: Remote Code Execution via malicious JP2 file parsing
-
Red Hat Enterprise Linux 6 gimp, gimp-libs, gimp-devel-tools, gimp-help-browseraffected: workaround, no fix planned “Out of support scope”
-
Red Hat Enterprise Linux AppStream (v. 9) gimp 3.0.4-1.el9_7.5, gimp 3.0.4-4.el9_8.4, gimp-libs 3.0.4-1.el9_7.5, gimp-libs 3.0.4-4.el9_8.4fixed: vendor fix RHSA-2026:16484
-
Red Hat Enterprise Linux AppStream E4S (v.9.0) gimp 2.99.8-3.el9_0.6, gimp-libs 2.99.8-3.el9_0.6fixed: vendor fix RHSA-2026:20691
-
Red Hat Enterprise Linux AppStream E4S (v.9.2) gimp 2.99.8-4.el9_2.6, gimp-libs 2.99.8-4.el9_2.6fixed: vendor fix RHSA-2026:25899
-
Red Hat Enterprise Linux AppStream E4S (v.9.4) gimp 2.99.8-4.el9_4.6, gimp-libs 2.99.8-4.el9_4.6fixed: vendor fix RHSA-2026:25907
-
Red Hat Enterprise Linux AppStream EUS (v.9.6) gimp 2.99.8-4.el9_6.7, gimp-libs 2.99.8-4.el9_6.7fixed: vendor fix RHSA-2026:25901
-
Red Hat Enterprise Linux 7 gimp, gimp-libs, gimp-devel-tools Red Hat Enterprise Linux 8 gimp, pygtk2, gimp-libs, pygobject2, python2-cairo, pygtk2-codegen, +3 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 6 mo ago
Exploit prediction
0.76% chance of exploitation in the next 30 days, higher than 55% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 7.8 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| CISA ADP | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected products
- GIMP GIMP
- Red Hat Red Hat Enterprise Linux 9
- Red Hat Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions
- Red Hat Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions
- Red Hat Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions
- Red Hat Red Hat Enterprise Linux 9.6 Extended Update Support
- Red Hat Red Hat Enterprise Linux 6
- Red Hat Red Hat Enterprise Linux 7
- Red Hat Red Hat Enterprise Linux 8
Classification
References
-
gitlab.gnome.org
/GNOME/gimp/-/commit/f64c9c23ba3c37dc7b875a9fb477c23953b4666e
vendor-advisory, patch
-
access.redhat.com
/errata/RHSA-2026:20691
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:25899
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:25907
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:25901
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:16484
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:19362
vendor-advisory
-
zerodayinitiative.com
/advisories/ZDI-26-219/
third-party-advisory
-
access.redhat.com
/security/cve/CVE-2026-4152
vdb-entry
-
bugzilla.redhat.com
/show_bug.cgi?id=2457533
issue-tracking
- security.access.redhat.com /data/csaf/v2/vex/2026/cve-2026-4152.json
Sources
- CVE List CVE-2026-4152
- NVD CVE-2026-4152
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.