Skip to content
Fencer Vulns
high 7.8

CVE-2025-15059 json

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

published 2026-01-23 9 mo ago modified 2026-07-15 3 mo ago also EUVD-2026-4485

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 57%
public exploits
0
none known

Summary

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.

Patch / fix

  • Red Hat Red Hat Enterprise Linux 9 2:3.0.4-1.el9_7.3
  • Red Hat Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions 2:2.99.8-3.el9_0.4
  • Red Hat Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions 2:2.99.8-4.el9_2.4
  • Red Hat Red Hat Enterprise Linux 9.4 Extended Update Support 2:2.99.8-4.el9_4.4
  • Red Hat Red Hat Enterprise Linux 9.6 Extended Update Support 2:2.99.8-4.el9_6.5
  • gimp Debian 12 2.10.34-1+deb12u7
  • gimp Debian 13 3.0.4-3+deb13u5
  • gimp Debian 14 3.2.0~RC2-3.1

debian advisories DEBIAN-CVE-2025-15059

  • gimp Ubuntu Pro 22.04 LTS 2.10.30-1ubuntu0.1+esm1
  • gimp Ubuntu Pro 24.04 LTS 2.10.36-3ubuntu0.24.04.1+esm1

ubuntu advisories UBUNTU-CVE-2025-15059

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • gimp RHEL 9 2:3.0.4-1.el9_7.3
  • gimp-libs RHEL 9 2:3.0.4-1.el9_7.3
  • gimp RHEL 9.0 E4S 2:2.99.8-3.el9_0.4
  • gimp-libs RHEL 9.0 E4S 2:2.99.8-3.el9_0.4
  • gimp RHEL 9.2 E4S 2:2.99.8-4.el9_2.4
  • gimp-libs RHEL 9.2 E4S 2:2.99.8-4.el9_2.4
  • gimp RHEL 9.4 EUS 2:2.99.8-4.el9_4.4
  • gimp-libs RHEL 9.4 EUS 2:2.99.8-4.el9_4.4

red hat advisories RHSA-2026:2969RHSA-2026:2953RHSA-2026:2950RHSA-2026:2930RHSA-2026:2707

  • gimp SLE Workstation Extension 15 SP7, SLE Module for Package Hub 15 SP7, openSUSE Leap 15.6 2.10.30-150400.3.35.1

suse advisories SUSE-SU-2026:0083-1

  • gimp openSUSE Leap 16.0 3.0.8-bp160.1.1
  • gimp openSUSE Tumbleweed 3.0.6-4.1

opensuse advisories openSUSE-RU-2026:20168-1openSUSE-SU-2026:10018-1

  • gimp AlmaLinux 9 2:3.0.4-1.el9_7.3
  • gimp-libs AlmaLinux 9 2:3.0.4-1.el9_7.3

almalinux advisories ALSA-2026:2707

  • gimp Rocky Linux 9 2:3.0.4-1.el9_7.3

rocky linux advisories RLSA-2026:2707

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-2025-15059 updated cvss 7.8

gimp: heap-based buffer overflow via specially crafted PSP file

  • Red Hat Enterprise Linux 6 gimp, gimp-libs, gimp-devel-tools, gimp-help-browser
    affected: workaround, no fix planned “To mitigate this issue, do not open PSP files from untrusted sources with GIMP.”
  • Red Hat Enterprise Linux AppStream (v. 9) gimp 3.0.4-1.el9_7.3, gimp-libs 3.0.4-1.el9_7.3
    fixed: vendor fix “To mitigate this issue, do not open PSP files from untrusted sources with GIMP.” RHSA-2026:2707
  • Red Hat Enterprise Linux AppStream E4S (v.9.0) gimp 2.99.8-3.el9_0.4, gimp-libs 2.99.8-3.el9_0.4
    fixed: vendor fix “To mitigate this issue, do not open PSP files from untrusted sources with GIMP.” RHSA-2026:2969
  • Red Hat Enterprise Linux AppStream E4S (v.9.2) gimp 2.99.8-4.el9_2.4, gimp-libs 2.99.8-4.el9_2.4
    fixed: vendor fix “To mitigate this issue, do not open PSP files from untrusted sources with GIMP.” RHSA-2026:2953
  • Red Hat Enterprise Linux AppStream EUS (v.9.4) gimp 2.99.8-4.el9_4.4, gimp-libs 2.99.8-4.el9_4.4
    fixed: vendor fix “To mitigate this issue, do not open PSP files from untrusted sources with GIMP.” RHSA-2026:2950
  • Red Hat Enterprise Linux AppStream EUS (v.9.6) gimp 2.99.8-4.el9_6.5, gimp-libs 2.99.8-4.el9_6.5
    fixed: vendor fix “To mitigate this issue, do not open PSP files from untrusted sources with GIMP.” RHSA-2026:2930
  • 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 more
    not 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
9 mo ago

Exploit prediction

0.84% chance of exploitation in the next 30 days, higher than 57% 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 Extended Update Support
  • 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

Weakness

References

Sources

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.