CVE-2025-15059: gimp Heap-based Buffer Overflow
Vulnerability summary
CVE-2025-15059 is a high (CVSS 7.8) Heap-based Buffer Overflow vulnerability in gimp. EPSS estimates a 0.84% chance of exploitation in the next 30 days, higher than 57% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 2 · Related 2Timeline
- 23-01-2026PublishedVulnerability first disclosed.
- 15-07-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
8 scores · 5 sources · 2 versions- OSV · Red hatEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- NVDNIST7.8HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.84%
Chance of exploitation in the next 30 days
Percentile
57%
Versus all other CVEs
30-day change
-0.01 pp
From 0.85% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-122Heap-based Buffer OverflowA heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().
- CWE-787Out-of-bounds WriteThe product writes data past the end, or before the beginning, of the intended buffer.
Affected systems
Redhat6 products
- gimp< 2:3.0.4-1.el9_7.3 | < 2:2.99.8-4.el9_6.5 | < 2:2.99.8-4.el9_4.4 | < 2:2.99.8-4.el9_2.4 | < 2:2.99.8-3.el9_0.4
- gimp-debuginfo< 2:3.0.4-1.el9_7.3 | < 2:2.99.8-4.el9_6.5 | < 2:2.99.8-4.el9_4.4 | < 2:2.99.8-4.el9_2.4 | < 2:2.99.8-3.el9_0.4
- gimp-debugsource< 2:3.0.4-1.el9_7.3 | < 2:2.99.8-4.el9_6.5 | < 2:2.99.8-4.el9_4.4 | < 2:2.99.8-4.el9_2.4 | < 2:2.99.8-3.el9_0.4
- gimp-devel-tools-debuginfo< 2:3.0.4-1.el9_7.3 | < 2:2.99.8-4.el9_6.5 | < 2:2.99.8-4.el9_4.4 | < 2:2.99.8-4.el9_2.4 | < 2:2.99.8-3.el9_0.4
- gimp-libs< 2:3.0.4-1.el9_7.3 | < 2:2.99.8-4.el9_6.5 | < 2:2.99.8-4.el9_4.4 | < 2:2.99.8-4.el9_2.4 | < 2:2.99.8-3.el9_0.4
Opensuse2 products
- gimp&distro=openSUSE Leap 15.6< 2.10.30-150400.3.35.1
- gimp&distro=openSUSE Tumbleweed< 3.0.6-4.1
Suse2 products
- gimp&distro=SUSE Linux Enterprise Module for Package Hub 15 SP7< 2.10.30-150400.3.35.1
- gimp&distro=SUSE Linux Enterprise Workstation Extension 15 SP7< 2.10.30-150400.3.35.1
Debian1 product
- gimp< 3.2.0~RC2-3.1 | < 2.10.34-1+deb12u7 | < 3.0.4-3+deb13u5
Gimp1 product
- gimp3.0.6
Ubuntu1 product
- gimp< 2.10.30-1ubuntu0.1+esm1 | < 2.10.36-3ubuntu0.24.04.1+esm1 | All versions (No fix recorded)
6 vendors · 13 products
References
25 links- www.zerodayinitiative.com/advisories/ZDI-25-1196/X Research AdvisoryARTICLEREPORTThird Party Advisory
- gitlab.gnome.org/GNOME/gimp/-/commit/03575ac8cbb0ef3103b0a15d6598475088dcc15eVendor AdvisoryARTICLEREPORTPatch