Read the docs
TI-2025-13739 Aliases CVE-2025-15059GHSA-h948-x7vm-x59c

Heap-based buffer overflow in GIMP

Priority LOW 38CWE-122Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Partial Red Hat: 5 fixed, 1 without a fix

Attack profile from CVSS 3.0 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-122 and the CVSS impact.

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00836 57th percentileScored 2026-11-07
Fix Partial Red Hat: 5 advisoriesRed Hat: 5 fixed, 1 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
GIMPGIMP3.0.6—No fix listedCNA
  • GIMP VendorGIMP Affected 3.0.6 Fixed in — No fix listed CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:gimp:gimp:3.0.6:*:*:*:*:*:*:*3.0.6VulnerableGIMP
  • cpe:2.3:a:gimp:gimp:3.0.6:*:*:*:*:*:*:* Versions 3.0.6 Vulnerable ·GIMP

Remediation

Red Hat 5 advisories

  • RHSA-2026:2969 Released 2026-02-18 · Red Hat rating Important
    gimp security update
    • Red Hat Enterprise Linux AppStream E4S (v.9.0) gimp-2:2.99.8-3.el9_0.4, gimp-libs-2:2.99.8-3.el9_0.4
  • RHSA-2026:2953 Released 2026-02-18 · Red Hat rating Important
    gimp security update
    • Red Hat Enterprise Linux AppStream E4S (v.9.2) gimp-2:2.99.8-4.el9_2.4, gimp-libs-2:2.99.8-4.el9_2.4
  • RHSA-2026:2950 Released 2026-02-18 · Red Hat rating Important
    gimp security update
    • Red Hat Enterprise Linux AppStream EUS (v.9.4) gimp-2:2.99.8-4.el9_4.4, gimp-libs-2:2.99.8-4.el9_4.4
Show 2 more Red Hat advisories
  • RHSA-2026:2930 Released 2026-02-18 · Red Hat rating Important
    gimp security update
    • Red Hat Enterprise Linux AppStream EUS (v.9.6) gimp-2:2.99.8-4.el9_6.5, gimp-libs-2:2.99.8-4.el9_6.5
  • RHSA-2026:2707 Released 2026-02-16 · Red Hat rating Important
    gimp security update
    • Red Hat Enterprise Linux AppStream (v. 9) gimp-2:3.0.4-1.el9_7.3, gimp-libs-2:3.0.4-1.el9_7.3

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 6AffectedNo fix planned: Will not fix
Red Hat Enterprise Linux AppStream (v. 9)Fixed RHSA-2026:2707
Red Hat Enterprise Linux AppStream E4S (v.9.0)Fixed RHSA-2026:2969
Red Hat Enterprise Linux AppStream E4S (v.9.2)Fixed RHSA-2026:2953
Red Hat Enterprise Linux AppStream EUS (v.9.4)Fixed RHSA-2026:2950
Red Hat Enterprise Linux AppStream EUS (v.9.6)Fixed RHSA-2026:2930
Not affected: 2 products
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-15059
  2. 2026-10-03 Alias added: GHSA-h948-x7vm-x59c

References

  • TI-2023-23949 Integer overflow in GIMP CVSS 3.0HIGH 7.8
  • TI-2026-42270 Gimp: gimp: arbitrary code execution in psd plugin due to unsigned underflow CVSS 3.1CRITICAL 9.9
  • TI-2012-02388 Buffer overflow in the readstr_upto function in plug-ins/script-fu/tinyscheme/scheme.c in… CVSS 2.0HIGH 7.5
  • TI-2023-23948 Heap-based buffer overflow in GIMP CVSS 3.0HIGH 7.8
  • TI-2023-23950 GIMP PSP File Parsing Off-By-One Remote Code Execution Vulnerability CVSS 3.0HIGH 7.8
  • TI-2026-54560 Gimp: integer overflow in pcx loader (planes=4) leads to heap overflow on 32-bit CVSS 3.1HIGH 7.0
See all 110 →

Sources