cve.bz

CVE-2025-15059 gimp gimp: Heap-based Buffer Overflow

7.8 highEPSS 0.8%Fix available

High (7.8) in gimp gimp. EPSS 0.8% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
0.8% (unchanged from 0.8% a week ago; 0.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 59th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-01-23. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-122 Heap-based Buffer Overflow
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-15059 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-15059?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-15059?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-15059 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
gimp:gimp3.0.6

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11gimp2.10.22-4+deb11u6DLA-4483-1
Debian12gimp2.10.34-1+deb12u7DEBIAN-CVE-2025-15059 DSA-6115-1
Debian13gimp3.0.4-3+deb13u5DEBIAN-CVE-2025-15059 DSA-6115-1
Debian14gimp3.2.0~RC2-3.1DEBIAN-CVE-2025-15059
Ubuntu25.10, 26.04:LTS, 26.10gimpno fix listedUBUNTU-CVE-2025-15059
UbuntuPro:22.04:LTSgimp2.10.30-1ubuntu0.1+esm1UBUNTU-CVE-2025-15059
UbuntuPro:24.04:LTSgimp2.10.36-3ubuntu0.24.04.1+esm1UBUNTU-CVE-2025-15059
Red Hatenterprise_linux:9::appstreamgimp, gimp-libs, gimp-debuginfo and 3 more2:3.0.4-1.el9_7.3RHSA-2026:2707
Red Hatrhel_e4s:9.0::appstreamgimp, gimp-libs, gimp-debuginfo and 3 more2:2.99.8-3.el9_0.4RHSA-2026:2969
Red Hatrhel_e4s:9.2::appstreamgimp, gimp-libs, gimp-debuginfo and 3 more2:2.99.8-4.el9_2.4RHSA-2026:2953
Red Hatrhel_eus:9.4::appstreamgimp, gimp-libs, gimp-debuginfo and 3 more2:2.99.8-4.el9_4.4RHSA-2026:2950
Red Hatrhel_eus:9.6::appstreamgimp, gimp-libs, gimp-debuginfo and 3 more2:2.99.8-4.el9_6.5RHSA-2026:2930
SUSELinux Enterprise Module for Package Hub 15 SP7, Linux Enterprise Workstation Extension 15 SP7gimp2.10.30-150400.3.35.1SUSE-SU-2026:0083-1
openSUSELeap 15.6gimp2.10.30-150400.3.35.1SUSE-SU-2026:0083-1
openSUSELeap 16.0gimp3.0.8-bp160.1.1openSUSE-RU-2026:20168-1
openSUSETumbleweedgimp3.0.6-4.1openSUSE-SU-2026:10018-1
AlmaLinux9gimp, gimp-libs2:3.0.4-1.el9_7.3ALSA-2026:2707
Rocky Linux9gimp2:3.0.4-1.el9_7.3RLSA-2026:2707

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

To exploit this issue, an attacker needs to convince a user to process a specially crafted PSP file with GIMP, reducing the likelihood of exploitation. Due to this reason, this flaw has been rated with an important severity.

Red Hat's mitigation

To mitigate this issue, do not open PSP files from untrusted sources with GIMP.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 9gimp-2:3.0.4-1.el9_7.3Fixed 2026-02-16RHSA-2026:2707
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionsgimp-2:2.99.8-3.el9_0.4Fixed 2026-02-18RHSA-2026:2969
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionsgimp-2:2.99.8-4.el9_2.4Fixed 2026-02-18RHSA-2026:2953
Red Hat Enterprise Linux 9.4 Extended Update Supportgimp-2:2.99.8-4.el9_4.4Fixed 2026-02-18RHSA-2026:2950
Red Hat Enterprise Linux 9.6 Extended Update Supportgimp-2:2.99.8-4.el9_6.5Fixed 2026-02-18RHSA-2026:2930
Red Hat Enterprise Linux 6gimpWill not fix
Red Hat Enterprise Linux 7gimpNot affected
Red Hat Enterprise Linux 8gimp:2.8/gimpNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-15059.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON