CVE-2025-15059CWE-122

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

High · published January 23, 2026

CVSS v3.0
7.8
EPSS
1%
Percentile
57.3
In the wild
Unconfirmed
What it is

⚠️ A remote attacker only needs a crafty PSP file to pull off a heap-based buffer overflow in GIMP. Get ready to patch up! Think of it like a restaurant that serves a special dish but neglects to check the portion size — too much could overflow onto the floor, causing a slippery mess. Here, an attacker can craft a malicious PSP file, and when opened, it spills over into the system, executing unwanted commands. If a user unwittingly opens that malicious PSP file, the attacker could gain control over the GIMP installation, executing any code as if they were sitting right there! This could lead to data breaches or worse — an absolute nightmare for unsuspecting users!

Put simply

Think of it like a restaurant that serves a special dish but neglects to check the portion size — too much could overflow onto the floor, causing a slippery mess. Here, an attacker can craft a malicious PSP file, and when opened, it spills over into the system, executing unwanted commands. This vulnerability arises from the GIMP application's inability to properly validate the length of user-supplied PSP file data before copying it to a heap-based buffer, allowing attackers to execute arbitrary code in the current process context.

What to do

If a user unwittingly opens that malicious PSP file, the attacker could gain control over the GIMP installation, executing any code as if they were sitting right there! This could lead to data breaches or worse — an absolute nightmare for unsuspecting users! To secure your installation, immediately update GIMP to the latest version that addresses this vulnerability. Additionally, encourage users to be cautious about the PSP files they open and consider implementing file-type restrictions to mitigate the risk. 🛡️ You've got this! Stay vigilant, keep your software updated, and safeguard your system! 🔒

The record
Technical detail
CVSS v3.0
7.8 · HIGH
Vector
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00836 · 57.3th percentile
Weakness
CWE-122 · Heap-based Buffer Overflow
Published
2026-01-23T02:49Z
EPSS history
Timeline
  • 23 JAN 02:49Z
    GIMP PSP File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability
    cvelistv5