Skip to content

CVE-2025-15059 GIMP PSP File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability

HighCVSS 7.8 EPSS 0.89%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
UbuntuDebianRed Hat

Description

GIMP PSP 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 PSP 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-28232.

Upgrade path

17 packages: 12 fixed, 1 partially fixed, 3 with no fix yet.

PackageAffectedFixed inStatus
redhat/gimp(Red Hat rhel_els 6) All versions No fix listed No fix yet
ubuntu/gimp(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/gimp(Ubuntu 26.10) All versions No fix listed No fix yet
redhat enterprise linux < 2:3.0.4-1.el9_7.3; = 7; = 8; All versions 2:3.0.4-1.el9_7.3 Partially fixed
debian/gimp(Debian 12) < 2.10.34-1+deb12u7; = 2.10.34-1; = 2.10.34-1+deb12u1; = 2.10.34-1+deb12u2 +4 more 2.10.34-1+deb12u7 Fixed
debian/gimp(Debian 13) < 3.0.4-3+deb13u5; = 3.0.4-3; = 3.0.4-3+deb13u1; = 3.0.4-3+deb13u2 +2 more 3.0.4-3+deb13u5 Fixed
debian/gimp(Debian 14) < 3.2.0~RC2-3.1; = 3.0.4-3; = 3.0.4-4; = 3.0.4-5 +7 more 3.2.0~RC2-3.1 Fixed
redhat rhel e4s < 2:2.99.8-3.el9_0.4; < 2:2.99.8-4.el9_2.4 2:2.99.8-3.el9_0.4, 2:2.99.8-4.el9_2.4 Fixed
redhat rhel eus < 2:2.99.8-4.el9_4.4; < 2:2.99.8-4.el9_6.5 2:2.99.8-4.el9_4.4, 2:2.99.8-4.el9_6.5 Fixed
redhat/gimp(Red Hat enterprise_linux 9) < 2:3.0.4-1.el9_7.3 2:3.0.4-1.el9_7.3 Fixed
redhat/gimp(Red Hat rhel_e4s 9.0) < 2:2.99.8-3.el9_0.4 2:2.99.8-3.el9_0.4 Fixed
redhat/gimp(Red Hat rhel_e4s 9.2) < 2:2.99.8-4.el9_2.4 2:2.99.8-4.el9_2.4 Fixed
redhat/gimp(Red Hat rhel_eus 9.4) < 2:2.99.8-4.el9_4.4 2:2.99.8-4.el9_4.4 Fixed
redhat/gimp(Red Hat rhel_eus 9.6) < 2:2.99.8-4.el9_6.5 2:2.99.8-4.el9_6.5 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+deb12u7 2.10.34-1+deb12u7
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:13) < 3.0.4-3+deb13u5 3.0.4-3+deb13u5
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:13) = 3.0.4-3+deb13u4 No fix listed
debian/gimp(Debian:14) < 3.2.0~RC2-3.1 3.2.0~RC2-3.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
Show 19 more
ProductAffected versionsFixed in
gimp = 3.0.6 No fix listed
redhat enterprise linux < 2:3.0.4-1.el9_7.3 2:3.0.4-1.el9_7.3
redhat rhel e4s < 2:2.99.8-3.el9_0.4 2:2.99.8-3.el9_0.4
redhat rhel e4s < 2:2.99.8-4.el9_2.4 2:2.99.8-4.el9_2.4
redhat rhel eus < 2:2.99.8-4.el9_4.4 2:2.99.8-4.el9_4.4
redhat rhel eus < 2:2.99.8-4.el9_6.5 2:2.99.8-4.el9_6.5
redhat enterprise linux All versions No fix listed
redhat enterprise linux = 7 No fix listed
redhat enterprise linux = 8 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.3 2:3.0.4-1.el9_7.3
redhat/gimp(Red Hat:rhel_e4s:9.0) < 2:2.99.8-3.el9_0.4 2:2.99.8-3.el9_0.4
redhat/gimp(Red Hat:rhel_e4s:9.2) < 2:2.99.8-4.el9_2.4 2:2.99.8-4.el9_2.4
redhat/gimp(Red Hat:rhel_eus:9.4) < 2:2.99.8-4.el9_4.4 2:2.99.8-4.el9_4.4
redhat/gimp(Red Hat:rhel_eus:9.6) < 2:2.99.8-4.el9_6.5 2:2.99.8-4.el9_6.5
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
ubuntu/gimp(Ubuntu:26.10) All versions No fix listed

References