Skip to content

CVE-2025-14425 GIMP JP2 File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability

HighCVSS 7.8 EPSS 0.81%
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-28248.

Upgrade path

12 packages: 10 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/gimp(Ubuntu 26.04) All versions No fix listed No fix yet
debian/gimp(Debian 12) < 2.10.34-1+deb12u6; = 2.10.34-1; = 2.10.34-1+deb12u1; = 2.10.34-1+deb12u2 +3 more 2.10.34-1+deb12u6 Fixed
debian/gimp(Debian 13) < 3.0.4-3+deb13u4; = 3.0.4-3; = 3.0.4-3+deb13u1; = 3.0.4-3+deb13u2 +1 more 3.0.4-3+deb13u4 Fixed
debian/gimp(Debian 14) < 3.2.0~RC2-1; = 3.0.4-3; = 3.0.4-4; = 3.0.4-5 +4 more 3.2.0~RC2-1 Fixed
redhat/gimp(Red Hat enterprise_linux 9) < 2:3.0.4-1.el9_7.2 2:3.0.4-1.el9_7.2 Fixed
redhat/gimp(Red Hat rhel_e4s 9.0) < 2:2.99.8-3.el9_0.3 2:2.99.8-3.el9_0.3 Fixed
redhat/gimp(Red Hat rhel_e4s 9.2) < 2:2.99.8-4.el9_2.3 2:2.99.8-4.el9_2.3 Fixed
redhat/gimp(Red Hat rhel_eus 9.4) < 2:2.99.8-4.el9_4.3 2:2.99.8-4.el9_4.3 Fixed
redhat/gimp(Red Hat rhel_eus 9.6) < 2:2.99.8-4.el9_6.4 2:2.99.8-4.el9_6.4 Fixed
ubuntu/gimp(Ubuntu 22.04) < 2.10.30-1ubuntu0.1+esm1 2.10.30-1ubuntu0.1+esm1 Fixed
ubuntu/gimp(Ubuntu 24.04) < 2.10.36-3ubuntu0.24.04.1+esm1 2.10.36-3ubuntu0.24.04.1+esm1 Fixed
gimp = 3.0.6 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
debian/gimp(Debian:12) < 2.10.34-1+deb12u6 2.10.34-1+deb12u6
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:13) < 3.0.4-3+deb13u4 3.0.4-3+deb13u4
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
debian/gimp(Debian:13) = 3.0.4-3+deb13u3 No fix listed
debian/gimp(Debian:14) < 3.2.0~RC2-1 3.2.0~RC2-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
gimp = 3.0.6 No fix listed
ubuntu/gimp(Ubuntu:22.04) < 2.10.30-1ubuntu0.1+esm1 2.10.30-1ubuntu0.1+esm1
redhat/gimp(Red Hat:enterprise_linux:9) < 2:3.0.4-1.el9_7.2 2:3.0.4-1.el9_7.2
redhat/gimp(Red Hat:rhel_e4s:9.0) < 2:2.99.8-3.el9_0.3 2:2.99.8-3.el9_0.3
redhat/gimp(Red Hat:rhel_e4s:9.2) < 2:2.99.8-4.el9_2.3 2:2.99.8-4.el9_2.3
Show 5 more
ProductAffected versionsFixed in
redhat/gimp(Red Hat:rhel_eus:9.4) < 2:2.99.8-4.el9_4.3 2:2.99.8-4.el9_4.3
redhat/gimp(Red Hat:rhel_eus:9.6) < 2:2.99.8-4.el9_6.4 2:2.99.8-4.el9_6.4
redhat/gimp(Red Hat:rhel_els:6) All versions No fix listed
ubuntu/gimp(Ubuntu:24.04) < 2.10.36-3ubuntu0.24.04.1+esm1 2.10.36-3ubuntu0.24.04.1+esm1
ubuntu/gimp(Ubuntu:26.04) All versions No fix listed

References